Makefile.am
author deba
Mon, 27 Feb 2006 10:17:33 +0000
changeset 1985 8782ff6fd98a
parent 1688 61ce46476787
child 2012 224cd6aacfc1
permissions -rw-r--r--
Bug fix
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@1489
     7
	config/lx_check_cplex.m4 \
ladanyi@1863
     8
	config/lx_check_glpk.m4
alpar@1177
     9
ladanyi@1489
    10
if WANT_DOC
ladanyi@1370
    11
  MAYBE_DOC = doc
ladanyi@1370
    12
endif
ladanyi@1435
    13
if WANT_GUI
ladanyi@1435
    14
  MAYBE_GUI = gui
ladanyi@1435
    15
endif
ladanyi@1863
    16
if WANT_DEMO
ladanyi@1863
    17
  MAYBE_DEMO = demo
ladanyi@1863
    18
endif
ladanyi@1863
    19
if WANT_BENCHMARK
ladanyi@1863
    20
  MAYBE_BENCHMARK = benchmark
ladanyi@1863
    21
endif
alpar@1455
    22
ladanyi@1863
    23
SUBDIRS = lemon $(MAYBE_BENCHMARK) $(MAYBE_DEMO) $(MAYBE_GUI) $(MAYBE_DOC) test
ladanyi@542
    24
ladanyi@1354
    25
MRPROPERFILES = \
ladanyi@1354
    26
	aclocal.m4 \
ladanyi@1354
    27
	config.h.in \
ladanyi@1370
    28
	config.h.in~ \
ladanyi@1354
    29
	configure \
ladanyi@1354
    30
	Makefile.in \
ladanyi@1354
    31
	config/depcomp \
ladanyi@1354
    32
	config/install-sh \
ladanyi@1354
    33
	config/config.guess \
ladanyi@1354
    34
	config/config.sub \
ladanyi@1354
    35
	config/ltmain.sh \
ladanyi@1354
    36
	config/missing \
ladanyi@1354
    37
	config/mkinstalldirs \
ladanyi@1354
    38
	doc/Makefile.in \
ladanyi@1354
    39
	doc/doxygen.log \
ladanyi@1435
    40
	Makefile.in \
ladanyi@1435
    41
	lemon/Makefile.in \
ladanyi@1435
    42
	test/Makefile.in \
ladanyi@1435
    43
	benchmark/Makefile.in \
ladanyi@1435
    44
	demo/Makefile.in \
klao@1688
    45
	gui/icons/Makefile.in \
ladanyi@1435
    46
	gui/Makefile.in
ladanyi@663
    47
klao@1450
    48
doc-clean:
klao@1450
    49
	$(MAKE) -C doc $(AM_MAKEFLAGS) clean html
klao@1450
    50
klao@1452
    51
doc:
klao@1450
    52
	-rm -f doc/html/index.html
klao@1450
    53
	$(MAKE) -C doc $(AM_MAKEFLAGS) html
klao@1450
    54
ladanyi@704
    55
benchmark:
ladanyi@1435
    56
	$(MAKE) -C benchmark $(AM_MAKEFLAGS)
ladanyi@704
    57
ladanyi@663
    58
mrproper:
ladanyi@663
    59
	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
ladanyi@663
    60
	-rm -f $(MRPROPERFILES)
ladanyi@663
    61
ladanyi@1490
    62
deb:
ladanyi@1490
    63
	dpkg-buildpackage -rfakeroot
ladanyi@1490
    64
ladanyi@1483
    65
rpm: dist
ladanyi@1483
    66
	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
ladanyi@1483
    67
	@rm -f $(PACKAGE)-$(VERSION).tar.gz
ladanyi@1483
    68
ladanyi@1483
    69
dist-bz2: dist
ladanyi@1483
    70
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
ladanyi@1483
    71
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
ladanyi@1483
    72
ladanyi@1483
    73
distcheck-bz2: distcheck
ladanyi@1483
    74
	zcat $(PACKAGE)-$(VERSION).tar.gz | \
ladanyi@1483
    75
	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
ladanyi@1483
    76
ladanyi@1490
    77
.PHONY: doc benchmark mrproper deb rpm dist-bz2 distcheck-bz2