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