Makefile.am
author ladanyi
Tue, 14 Jun 2005 10:26:37 +0000
changeset 1483 e427615afb48
parent 1480 268c2b5d8971
child 1487 6ea6d0d789c6
permissions -rw-r--r--
added support for generating rpms (completely untested though)
ladanyi@1384
     1
ACLOCAL_AMFLAGS = -I config
ladanyi@1384
     2
alpar@1395
     3
EXTRA_DIST = \
ladanyi@1480
     4
	LICENSE \
ladanyi@1483
     5
	lemon.spec \
alpar@1395
     6
	autopackage/default.apspec.in \
alpar@1395
     7
	config/cxxflags.m4 \
alpar@1395
     8
	config/lp.m4 \
alpar@1395
     9
	config/misc.m4
alpar@1177
    10
ladanyi@1370
    11
if WANT_DOCS
ladanyi@1370
    12
  MAYBE_DOC = doc
ladanyi@1370
    13
endif
ladanyi@1435
    14
if WANT_GUI
ladanyi@1435
    15
  MAYBE_GUI = gui
ladanyi@1435
    16
endif
alpar@1455
    17
alpar@1455
    18
SUBDIRS = lemon benchmark demo $(MAYBE_GUI) $(MAYBE_DOC) test
ladanyi@542
    19
ladanyi@1354
    20
MRPROPERFILES = \
ladanyi@1354
    21
	aclocal.m4 \
ladanyi@1354
    22
	config.h.in \
ladanyi@1370
    23
	config.h.in~ \
ladanyi@1354
    24
	configure \
ladanyi@1354
    25
	Makefile.in \
ladanyi@1354
    26
	config/depcomp \
ladanyi@1354
    27
	config/install-sh \
ladanyi@1354
    28
	config/config.guess \
ladanyi@1354
    29
	config/config.sub \
ladanyi@1354
    30
	config/ltmain.sh \
ladanyi@1354
    31
	config/missing \
ladanyi@1354
    32
	config/mkinstalldirs \
ladanyi@1354
    33
	doc/Makefile.in \
ladanyi@1354
    34
	doc/doxygen.log \
ladanyi@1435
    35
	Makefile.in \
ladanyi@1435
    36
	lemon/Makefile.in \
ladanyi@1435
    37
	test/Makefile.in \
ladanyi@1435
    38
	benchmark/Makefile.in \
ladanyi@1435
    39
	demo/Makefile.in \
ladanyi@1435
    40
	gui/Makefile.in
ladanyi@663
    41
klao@1450
    42
doc-clean:
klao@1450
    43
	$(MAKE) -C doc $(AM_MAKEFLAGS) clean html
klao@1450
    44
klao@1452
    45
doc:
klao@1450
    46
	-rm -f doc/html/index.html
klao@1450
    47
	$(MAKE) -C doc $(AM_MAKEFLAGS) html
klao@1450
    48
ladanyi@704
    49
benchmark:
ladanyi@1435
    50
	$(MAKE) -C benchmark $(AM_MAKEFLAGS)
ladanyi@704
    51
ladanyi@663
    52
mrproper:
ladanyi@663
    53
	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
ladanyi@663
    54
	-rm -f $(MRPROPERFILES)
ladanyi@663
    55
ladanyi@1483
    56
rpm: dist
ladanyi@1483
    57
	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
ladanyi@1483
    58
	@rm -f $(PACKAGE)-$(VERSION).tar.gz
ladanyi@1483
    59
ladanyi@1483
    60
dist-bz2: dist
ladanyi@1483
    61
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
ladanyi@1483
    62
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
ladanyi@1483
    63
ladanyi@1483
    64
distcheck-bz2: distcheck
ladanyi@1483
    65
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
ladanyi@1483
    66
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
ladanyi@1483
    67
ladanyi@1483
    68
.PHONY: doc benchmark mrproper rpm dist-bz2 distcheck-bz2