Makefile.am
author deba
Fri, 14 Oct 2005 10:49:51 +0000
changeset 1720 578d8b2b76c6
parent 1671 3c82a0d9e0e7
child 1863 12e0db6b7d0e
permissions -rw-r--r--
Matrixmaps moved to own file
     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/icons/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