Makefile.am
author deba
Thu, 01 Sep 2005 12:14:14 +0000
changeset 1672 85e30ec7c957
parent 1490 fa2b73784343
child 1688 61ce46476787
permissions -rw-r--r--
Bug fix.

Default assign operator should be
overrided by that calls the template
assign operator.
     1 ACLOCAL_AMFLAGS = -I config
     2 
     3 EXTRA_DIST = \
     4 	LICENSE \
     5 	lemon.spec \
     6 	autopackage/default.apspec.in \
     7 	config/lx_check_cplex.m4 \
     8 	config/lx_check_glpk.m4 \
     9 	config/lx_enable_doc.m4 \
    10 	config/lx_enable_gui.m4
    11 
    12 if WANT_DOC
    13   MAYBE_DOC = doc
    14 endif
    15 if WANT_GUI
    16   MAYBE_GUI = gui
    17 endif
    18 
    19 SUBDIRS = lemon benchmark demo $(MAYBE_GUI) $(MAYBE_DOC) test
    20 
    21 MRPROPERFILES = \
    22 	aclocal.m4 \
    23 	config.h.in \
    24 	config.h.in~ \
    25 	configure \
    26 	Makefile.in \
    27 	config/depcomp \
    28 	config/install-sh \
    29 	config/config.guess \
    30 	config/config.sub \
    31 	config/ltmain.sh \
    32 	config/missing \
    33 	config/mkinstalldirs \
    34 	doc/Makefile.in \
    35 	doc/doxygen.log \
    36 	Makefile.in \
    37 	lemon/Makefile.in \
    38 	test/Makefile.in \
    39 	benchmark/Makefile.in \
    40 	demo/Makefile.in \
    41 	gui/Makefile.in
    42 
    43 doc-clean:
    44 	$(MAKE) -C doc $(AM_MAKEFLAGS) clean html
    45 
    46 doc:
    47 	-rm -f doc/html/index.html
    48 	$(MAKE) -C doc $(AM_MAKEFLAGS) html
    49 
    50 benchmark:
    51 	$(MAKE) -C benchmark $(AM_MAKEFLAGS)
    52 
    53 mrproper:
    54 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
    55 	-rm -f $(MRPROPERFILES)
    56 
    57 deb:
    58 	dpkg-buildpackage -rfakeroot
    59 
    60 rpm: dist
    61 	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
    62 	@rm -f $(PACKAGE)-$(VERSION).tar.gz
    63 
    64 dist-bz2: dist
    65 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    66 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    67 
    68 distcheck-bz2: distcheck
    69 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    70 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    71 
    72 .PHONY: doc benchmark mrproper deb rpm dist-bz2 distcheck-bz2