Makefile.am
author deba
Mon, 03 Apr 2006 09:24:38 +0000
changeset 2030 d769d2eb4d50
parent 1863 12e0db6b7d0e
child 2043 54f80cf6ac86
permissions -rw-r--r--
Naming convention fix
     1 ACLOCAL_AMFLAGS = -I m4
     2 
     3 EXTRA_DIST = \
     4 	LICENSE \
     5 	lemon.spec \
     6 	autopackage/default.apspec.in \
     7 	m4/lx_check_cplex.m4 \
     8 	m4/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 	build-aux/config.guess \
    32 	build-aux/config.sub \
    33 	build-aux/depcomp \
    34 	build-aux/install-sh \
    35 	build-aux/ltmain.sh \
    36 	build-aux/missing \
    37 	build-aux/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