2 TEXINFOS = automake.texi
4 # CONFIG_HEADER = config.h
6 pkgdata_DATA = clean-kr.am clean.am compile-kr.am compile-vars.am \
7 compile.am data.am depend.am dist-subd-top.am \
8 dist-subd.am dist-vars.am dist.am footer.am header-vars.am \
9 kr-vars.am libraries-vars.am \
10 libraries.am library.am mans-vars.am \
11 program.am programs.am remake-hdr.am \
12 remake-subd.am remake.am scripts.am subdirs.am tags.am tags-subd.am \
14 texi-clean.am texi-version.am texinfos-vars.am texinfos.am \
15 libraries-clean.am scripts-clean.am programs-clean.am data-clean.am \
16 COPYING INSTALL install-sh mdate-sh mkinstalldirs texinfo.tex
18 DIST_OTHER = automake.in
21 DIST_SUBDIRS = samples/cpio/*Makefile.am
23 # The following requires a fixed version of the Emacs 19.30 etags.
24 ETAGS_ARGS = automake.in --lang=none \
25 --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
28 # * syntax check with perl4 and perl5.
29 # * make sure the scripts don't use 'true'
30 # * expect exactly two instance of '${...}'
31 # These are only really guaranteed to work on my machine.
32 maintainer-check: automake
34 @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
35 echo "can't use 'true' in GNU Makefile" 1>&2; \
38 @if test `fgrep '$${' $(srcdir)/[a-z]*.am | wc -l` -ne 2; then \
39 echo "found too many uses of '\$${'" 1>&2; \
42 if test -f /usr/local/bin/perl4.036; then \
43 /usr/local/bin/perl4.036 -c -w automake; \
47 CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
49 # Tag before making distribution. Also, don't make a distribution if
50 # checks fail. Also, make sure the NEWS file is up-to-date.
51 cvs-dist: maintainer-check
52 @if sed 1q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
53 echo "NEWS not updated; not releasing" 1>&2; \
56 cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`