Makefile.am
author alpar
Thu, 18 May 2006 10:24:14 +0000
changeset 2095 5ed8ef40a483
parent 2054 5363a9c49055
child 2103 a979fcdda073
permissions -rw-r--r--
Bugfix
     1 ACLOCAL_AMFLAGS = -I m4
     2 
     3 EXTRA_DIST = \
     4 	build-aux/config.rpath \
     5 	build-aux/mkinstalldirs \
     6 	LICENSE \
     7 	ABOUT-NLS \
     8 	lemon.spec \
     9 	autopackage/default.apspec.in \
    10 	m4/lx_check_cplex.m4 \
    11 	m4/lx_check_glpk.m4
    12 
    13 if WANT_DOC
    14   MAYBE_DOC = doc
    15 endif
    16 if WANT_GUI
    17   MAYBE_GUI = gui
    18 endif
    19 if WANT_DEMO
    20   MAYBE_DEMO = demo
    21 endif
    22 if WANT_BENCHMARK
    23   MAYBE_BENCHMARK = benchmark
    24 endif
    25 
    26 SUBDIRS = lemon po m4 $(MAYBE_BENCHMARK) $(MAYBE_DEMO) $(MAYBE_GUI) $(MAYBE_DOC) test
    27 
    28 MRPROPERFILES = \
    29 	aclocal.m4 \
    30 	config.h.in \
    31 	config.h.in~ \
    32 	configure \
    33 	Makefile.in \
    34 	build-aux/config.guess \
    35 	build-aux/config.sub \
    36 	build-aux/depcomp \
    37 	build-aux/install-sh \
    38 	build-aux/ltmain.sh \
    39 	build-aux/missing \
    40 	build-aux/mkinstalldirs \
    41 	build-aux/config.rpath \
    42 	doc/Makefile.in \
    43 	doc/doxygen.log \
    44 	Makefile.in \
    45 	lemon/Makefile.in \
    46 	test/Makefile.in \
    47 	benchmark/Makefile.in \
    48 	demo/Makefile.in \
    49 	gui/icons/Makefile.in \
    50 	gui/Makefile.in \
    51 	ABOUT-NLS \
    52 	m4/Makefile.in \
    53 	m4/lib-link.m4 \
    54 	m4/printf-posix.m4 \
    55 	m4/uintmax_t.m4 \
    56 	m4/signed.m4 \
    57 	m4/iconv.m4 \
    58 	m4/inttypes.m4 \
    59 	m4/longlong.m4 \
    60 	m4/glibc21.m4 \
    61 	m4/inttypes_h.m4 \
    62 	m4/codeset.m4 \
    63 	m4/longdouble.m4 \
    64 	m4/nls.m4 \
    65 	m4/intmax.m4 \
    66 	m4/lib-prefix.m4 \
    67 	m4/glibc2.m4 \
    68 	m4/xsize.m4 \
    69 	m4/lcmessage.m4 \
    70 	m4/lib-ld.m4 \
    71 	m4/ulonglong.m4 \
    72 	m4/wint_t.m4 \
    73 	m4/progtest.m4 \
    74 	m4/inttypes-pri.m4 \
    75 	m4/stdint_h.m4 \
    76 	m4/intdiv0.m4 \
    77 	m4/isc-posix.m4 \
    78 	m4/po.m4 \
    79 	m4/size_max.m4 \
    80 	m4/gettext.m4 \
    81 	m4/wchar_t.m4 \
    82 	po/Rules-quot \
    83 	po/en@quot.header \
    84 	po/insert-header.sin \
    85 	po/quot.sed \
    86 	po/en@boldquot.header \
    87 	po/boldquot.sed \
    88 	po/Makevars.template \
    89 	po/remove-potcdate.sin \
    90 	po/Makefile.in.in
    91 
    92 doc-clean:
    93 	$(MAKE) -C doc $(AM_MAKEFLAGS) clean html
    94 
    95 doc:
    96 	-rm -f doc/html/index.html
    97 	$(MAKE) -C doc $(AM_MAKEFLAGS) html
    98 
    99 benchmark:
   100 	$(MAKE) -C benchmark $(AM_MAKEFLAGS)
   101 
   102 mrproper:
   103 	$(MAKE) $(AM_MAKEFLAGS) maintainer-clean
   104 	-rm -f $(MRPROPERFILES)
   105 
   106 deb:
   107 	dpkg-buildpackage -rfakeroot
   108 
   109 rpm: dist
   110 	rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
   111 	@rm -f $(PACKAGE)-$(VERSION).tar.gz
   112 
   113 dist-bz2: dist
   114 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
   115 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
   116 
   117 distcheck-bz2: distcheck
   118 	zcat $(PACKAGE)-$(VERSION).tar.gz | \
   119 	bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
   120 
   121 .PHONY: doc benchmark mrproper deb rpm dist-bz2 distcheck-bz2