Makefile.am
author alpar
Tue, 30 Aug 2005 21:19:07 +0000
changeset 1668 d5a7d6bc0f00
parent 1489 f7e9cc3bc2da
child 1671 3c82a0d9e0e7
permissions -rw-r--r--
ChangeLog -> NEWS
     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_docdir_suffix.m4 \
    10 	config/lx_enable_doc.m4 \
    11 	config/lx_enable_gui.m4
    12 
    13 if WANT_DOC
    14   MAYBE_DOC = doc
    15 endif
    16 if WANT_GUI
    17   MAYBE_GUI = gui
    18 endif
    19 
    20 SUBDIRS = lemon benchmark demo $(MAYBE_GUI) $(MAYBE_DOC) test
    21 
    22 MRPROPERFILES = \
    23 	aclocal.m4 \
    24 	config.h.in \
    25 	config.h.in~ \
    26 	configure \
    27 	Makefile.in \
    28 	config/depcomp \
    29 	config/install-sh \
    30 	config/config.guess \
    31 	config/config.sub \
    32 	config/ltmain.sh \
    33 	config/missing \
    34 	config/mkinstalldirs \
    35 	doc/Makefile.in \
    36 	doc/doxygen.log \
    37 	Makefile.in \
    38 	lemon/Makefile.in \
    39 	test/Makefile.in \
    40 	benchmark/Makefile.in \
    41 	demo/Makefile.in \
    42 	gui/Makefile.in
    43 
    44 doc-clean:
    45 	$(MAKE) -C doc $(AM_MAKEFLAGS) clean html
    46 
    47 doc:
    48 	-rm -f doc/html/index.html
    49 	$(MAKE) -C doc $(AM_MAKEFLAGS) html
    50 
    51 benchmark:
    52 	$(MAKE) -C benchmark $(AM_MAKEFLAGS)
    53 
    54 mrproper:
    55 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
    56 	-rm -f $(MRPROPERFILES)
    57 
    58 deb:
    59 	dpkg-buildpackage -rfakeroot
    60 
    61 rpm: dist
    62 	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
    63 	@rm -f $(PACKAGE)-$(VERSION).tar.gz
    64 
    65 dist-bz2: dist
    66 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    67 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    68 
    69 distcheck-bz2: distcheck
    70 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    71 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    72 
    73 .PHONY: doc benchmark mrproper deb rpm dist-bz2 distcheck-bz2