1 ## Process this file with automake to create Makefile.in
3 AUTOMAKE_OPTIONS = gnits
9 info_TEXINFOS = automake.texi
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 \
21 texi-version.am texinfos-vars.am texinfos.am \
22 libraries-clean.am programs-clean.am data-clean.am \
23 COPYING INSTALL texinfo.tex \
24 ansi2knr.c ansi2knr.1 \
27 ## These must all be executable when installed.
28 pkgdata_SCRIPTS = config.guess config.sub install-sh mdate-sh mkinstalldirs
33 DIST_SUBDIRS = samples/cpio/*Makefile.am
35 # The following requires a fixed version of the Emacs 19.30 etags.
36 ETAGS_ARGS = automake.in --lang=none \
37 --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
39 # Check to make sure some installed files are executable.
41 test -x $(pkgdatadir)/config.guess
42 test -x $(pkgdatadir)/config.sub
43 test -x $(pkgdatadir)/install-sh
44 test -x $(pkgdatadir)/mdate-sh
45 test -x $(pkgdatadir)/mkinstalldirs
48 # * syntax check with perl4 and perl5.
49 # * make sure the scripts don't use 'true'
50 # * expect no instances of '${...}'
51 # These are only really guaranteed to work on my machine.
52 maintainer-check: automake check
54 @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
55 echo "can't use 'true' in GNU Makefile" 1>&2; \
58 @if test `fgrep '$${' $(srcdir)/[a-z]*.am | wc -l` -ne 0; then \
59 echo "found too many uses of '\$${'" 1>&2; \
62 if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
63 perl4.036 -c -w automake; \
66 # Tag before making distribution. Also, don't make a distribution if
67 # checks fail. Also, make sure the NEWS file is up-to-date.
68 cvs-dist: maintainer-check
69 @if sed 1q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
70 echo "NEWS not updated; not releasing" 1>&2; \
73 cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`