Nothing
[automake.git] / Makefile.am
blob84366acb08ac264c5032ee1d90752ac94d228e21
1 ## Process this file with automake to create Makefile.in
3 AUTOMAKE_OPTIONS = gnits
4 MAINT_CHARSET = latin1
6 SUBDIRS = tests
8 bin_SCRIPTS = automake
9 info_TEXINFOS = automake.texi
10 # SUBDIRS = intl po
11 # CONFIG_HEADER = config.h
13 pkgdata_DATA = clean-kr.am clean.am compile-kr.am compile-vars.am \
14 compile.am data.am depend.am \
15 dist-vars.am footer.am header.am header-vars.am \
16 kr-vars.am libraries-vars.am \
17 libraries.am library.am mans-vars.am \
18 program.am programs.am remake-hdr.am \
19 remake-subd.am remake.am scripts.am subdirs.am tags.am tags-subd.am \
20 tags-clean.am \
21 texi-version.am texinfos-vars.am texinfos.am \
22 libraries-clean.am scripts-clean.am programs-clean.am data-clean.am \
23 COPYING INSTALL install-sh mdate-sh mkinstalldirs texinfo.tex \
24 config.guess config.sub
26 # Gross.
27 DIST_SUBDIRS = samples/cpio/*Makefile.am
29 # The following requires a fixed version of the Emacs 19.30 etags.
30 ETAGS_ARGS = automake.in --lang=none \
31  --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
33 # Some simple checks:
34 # * syntax check with perl4 and perl5.
35 # * make sure the scripts don't use 'true'
36 # * expect no instances of '${...}'
37 # These are only really guaranteed to work on my machine.
38 maintainer-check: automake
39         @PERL@ -c -w automake
40         @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
41           echo "can't use 'true' in GNU Makefile" 1>&2; \
42           exit 1;                               \
43         else :; fi
44         @if test `fgrep '$${' $(srcdir)/[a-z]*.am | wc -l` -ne 0; then \
45           echo "found too many uses of '\$${'" 1>&2; \
46           exit 1;                               \
47         fi
48         if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
49           perl4.036 -c -w automake; \
50         else :; fi
52 # Tag before making distribution.  Also, don't make a distribution if
53 # checks fail.  Also, make sure the NEWS file is up-to-date.
54 cvs-dist: maintainer-check
55         @if sed 1q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
56           echo "NEWS not updated; not releasing" 1>&2; \
57           exit 1;                               \
58         fi
59         cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
60         $(MAKE) dist