Can't use 'true' in Makefiles
[platform/upstream/automake.git] / Makefile.am
1 bin_SCRIPTS = automake
2 TEXINFOS = automake.texi
3 # SUBDIRS = intl po
4 # CONFIG_HEADER = config.h
5
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
17 DIST_OTHER = automake.in
18
19 # Gross.
20 DIST_SUBDIRS = samples/cpio/*Makefile.am
21
22 # The following requires a fixed version of the Emacs 19.30 etags.
23 ETAGS_ARGS = automake.in --lang=none \
24  --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
25
26 # The simplest form of checking.
27 check-local: automake
28         @PERL@ -c -w automake
29         if grep '^[^#].*true' *.am; then :; else \
30           echo "can't use 'true' in GNU Makefile" 1>&2; \
31           exit 1;                               \
32         fi
33
34 automake: automake.in
35         CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
36
37 # Tag before making distribution.
38 cvs-dist:
39         cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
40         $(MAKE) dist