Makefile.am
author alpar
Tue, 14 Jun 2005 13:55:28 +0000
changeset 1484 a3484f00a5f0
parent 1480 268c2b5d8971
child 1487 6ea6d0d789c6
permissions -rw-r--r--
- lp_test is made working.
- some more 'const' for those who like them..
     1 ACLOCAL_AMFLAGS = -I config
     2 
     3 EXTRA_DIST = \
     4 	LICENSE \
     5 	lemon.spec \
     6 	autopackage/default.apspec.in \
     7 	config/cxxflags.m4 \
     8 	config/lp.m4 \
     9 	config/misc.m4
    10 
    11 if WANT_DOCS
    12   MAYBE_DOC = doc
    13 endif
    14 if WANT_GUI
    15   MAYBE_GUI = gui
    16 endif
    17 
    18 SUBDIRS = lemon benchmark demo $(MAYBE_GUI) $(MAYBE_DOC) test
    19 
    20 MRPROPERFILES = \
    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 
    42 doc-clean:
    43 	$(MAKE) -C doc $(AM_MAKEFLAGS) clean html
    44 
    45 doc:
    46 	-rm -f doc/html/index.html
    47 	$(MAKE) -C doc $(AM_MAKEFLAGS) html
    48 
    49 benchmark:
    50 	$(MAKE) -C benchmark $(AM_MAKEFLAGS)
    51 
    52 mrproper:
    53 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
    54 	-rm -f $(MRPROPERFILES)
    55 
    56 rpm: dist
    57 	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
    58 	@rm -f $(PACKAGE)-$(VERSION).tar.gz
    59 
    60 dist-bz2: dist
    61 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
    62 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
    63 
    64 distcheck-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