Makefile.am
author alpar
Mon, 20 Feb 2006 06:41:12 +0000
changeset 1971 9a59a6cacfd9
parent 1688 61ce46476787
child 2012 224cd6aacfc1
permissions -rw-r--r--
- RGB color related stuff is in color.h now
- eps.h: A simple class to create .eps figures (demo: eps_demo.h)
     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 
    10 if WANT_DOC
    11   MAYBE_DOC = doc
    12 endif
    13 if WANT_GUI
    14   MAYBE_GUI = gui
    15 endif
    16 if WANT_DEMO
    17   MAYBE_DEMO = demo
    18 endif
    19 if WANT_BENCHMARK
    20   MAYBE_BENCHMARK = benchmark
    21 endif
    22 
    23 SUBDIRS = lemon $(MAYBE_BENCHMARK) $(MAYBE_DEMO) $(MAYBE_GUI) $(MAYBE_DOC) test
    24 
    25 MRPROPERFILES = \
    26 	aclocal.m4 \
    27 	config.h.in \
    28 	config.h.in~ \
    29 	configure \
    30 	Makefile.in \
    31 	config/depcomp \
    32 	config/install-sh \
    33 	config/config.guess \
    34 	config/config.sub \
    35 	config/ltmain.sh \
    36 	config/missing \
    37 	config/mkinstalldirs \
    38 	doc/Makefile.in \
    39 	doc/doxygen.log \
    40 	Makefile.in \
    41 	lemon/Makefile.in \
    42 	test/Makefile.in \
    43 	benchmark/Makefile.in \
    44 	demo/Makefile.in \
    45 	gui/icons/Makefile.in \
    46 	gui/Makefile.in
    47 
    48 doc-clean:
    49 	$(MAKE) -C doc $(AM_MAKEFLAGS) clean html
    50 
    51 doc:
    52 	-rm -f doc/html/index.html
    53 	$(MAKE) -C doc $(AM_MAKEFLAGS) html
    54 
    55 benchmark:
    56 	$(MAKE) -C benchmark $(AM_MAKEFLAGS)
    57 
    58 mrproper:
    59 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
    60 	-rm -f $(MRPROPERFILES)
    61 
    62 deb:
    63 	dpkg-buildpackage -rfakeroot
    64 
    65 rpm: dist
    66 	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
    67 	@rm -f $(PACKAGE)-$(VERSION).tar.gz
    68 
    69 dist-bz2: dist
    70 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    71 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    72 
    73 distcheck-bz2: distcheck
    74 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    75 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    76 
    77 .PHONY: doc benchmark mrproper deb rpm dist-bz2 distcheck-bz2