COIN-OR::LEMON - Graph Library

source: lemon-0.x/Makefile.am @ 1492:0d58f0301923

Last change on this file since 1492:0d58f0301923 was 1490:fa2b73784343, checked in by Akos Ladanyi, 20 years ago

Added support for building deb packages.

File size: 1.4 KB
Line 
1ACLOCAL_AMFLAGS = -I config
2
3EXTRA_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
13if WANT_DOC
14  MAYBE_DOC = doc
15endif
16if WANT_GUI
17  MAYBE_GUI = gui
18endif
19
20SUBDIRS = lemon benchmark demo $(MAYBE_GUI) $(MAYBE_DOC) test
21
22MRPROPERFILES = \
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
44doc-clean:
45        $(MAKE) -C doc $(AM_MAKEFLAGS) clean html
46
47doc:
48        -rm -f doc/html/index.html
49        $(MAKE) -C doc $(AM_MAKEFLAGS) html
50
51benchmark:
52        $(MAKE) -C benchmark $(AM_MAKEFLAGS)
53
54mrproper:
55        $(MAKE) $(AM_MAKEFLAGS) maintainer-clean
56        -rm -f $(MRPROPERFILES)
57
58deb:
59        dpkg-buildpackage -rfakeroot
60
61rpm: dist
62        rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
63        @rm -f $(PACKAGE)-$(VERSION).tar.gz
64
65dist-bz2: dist
66        zcat $(PACKAGE)-$(VERSION).tar.gz | \
67        bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
68
69distcheck-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
Note: See TracBrowser for help on using the repository browser.