COIN-OR::LEMON - Graph Library

source: lemon-0.x/Makefile.am @ 1483:e427615afb48

Last change on this file since 1483:e427615afb48 was 1483:e427615afb48, checked in by Akos Ladanyi, 14 years ago

added support for generating rpms (completely untested though)

File size: 1.3 KB
Line 
1ACLOCAL_AMFLAGS = -I config
2
3EXTRA_DIST = \
4        LICENSE \
5        lemon.spec \
6        autopackage/default.apspec.in \
7        config/cxxflags.m4 \
8        config/lp.m4 \
9        config/misc.m4
10
11if WANT_DOCS
12  MAYBE_DOC = doc
13endif
14if WANT_GUI
15  MAYBE_GUI = gui
16endif
17
18SUBDIRS = lemon benchmark demo $(MAYBE_GUI) $(MAYBE_DOC) test
19
20MRPROPERFILES = \
21        aclocal.m4 \
22        config.h.in \
23        config.h.in~ \
24        configure \
25        Makefile.in \
26        config/depcomp \
27        config/install-sh \
28        config/config.guess \
29        config/config.sub \
30        config/ltmain.sh \
31        config/missing \
32        config/mkinstalldirs \
33        doc/Makefile.in \
34        doc/doxygen.log \
35        Makefile.in \
36        lemon/Makefile.in \
37        test/Makefile.in \
38        benchmark/Makefile.in \
39        demo/Makefile.in \
40        gui/Makefile.in
41
42doc-clean:
43        $(MAKE) -C doc $(AM_MAKEFLAGS) clean html
44
45doc:
46        -rm -f doc/html/index.html
47        $(MAKE) -C doc $(AM_MAKEFLAGS) html
48
49benchmark:
50        $(MAKE) -C benchmark $(AM_MAKEFLAGS)
51
52mrproper:
53        $(MAKE) $(AM_MAKEFLAGS) maintainer-clean
54        -rm -f $(MRPROPERFILES)
55
56rpm: dist
57        rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
58        @rm -f $(PACKAGE)-$(VERSION).tar.gz
59
60dist-bz2: dist
61        zcat $(PACKAGE)-$(VERSION).tar.gz | \
62        bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
63
64distcheck-bz2: distcheck
65        zcat $(PACKAGE)-$(VERSION).tar.gz | \
66        bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
67
68.PHONY: doc benchmark mrproper rpm dist-bz2 distcheck-bz2
Note: See TracBrowser for help on using the repository browser.