Added --install-missing option
[automake.git] / Makefile.am
blobeccfe0b4f25716ca8a868702cd5dcdb0ec4d1594
1 bin_SCRIPTS = automake
2 TEXINFOS = automake.texi
3 # SUBDIRS = intl po
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 libprograms.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 \
13 tags-clean.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 INSTALL install-sh mdate-sh mkinstalldirs texinfo.tex
18 DIST_OTHER = automake.in
20 # Gross.
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
27 # Some simple checks:
28 # * syntax check with perl4 and perl5.
29 # * make sure the scripts don't use 'true'
30 # These are only really guaranteed to work on my machine.
31 maintainer-check: automake
32         @PERL@ -c -w automake
33         if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
34           echo "can't use 'true' in GNU Makefile" 1>&2; \
35           exit 1;                               \
36         else :; fi
37         if test -f /usr/local/bin/perl4.036; then \
38           /usr/local/bin/perl4.036 -c -w automake; \
39         else :; fi
41 automake: automake.in
42         CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
44 # Tag before making distribution.  Also, don't make a distribution if
45 # checks fail.  Also, make sure the NEWS file is up-to-date.
46 cvs-dist: maintainer-check
47         if sed 1q NEWS | grep -e "$(VERSION)"; then :; else \
48           echo "NEWS not updated; not releasing" 1>&2; \
49           exit 1;                               \
50         fi
51         cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
52         $(MAKE) dist