* src/builtin.c (m4_builtin, m4_indir): Allow transparent
[m4.git] / checks / Makefile.in
blob83f8a37f1361605f9de427b9c998b93cc1753bbb
1 ##
2 ## Copyright (C) 1992, 1993, 1994, 2006 Free Software Foundation, Inc.
3 ##
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2 of the License, or
7 ## (at your option) any later version.
8 ##
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; See the file COPYING. if not, write to
16 ## the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 ## Boston, MA 02110-1301, USA.
19 PACKAGE = @PACKAGE@
20 VERSION = @VERSION@
22 SHELL = /bin/sh
24 bindir = @bindir@
25 exec_prefix = @exec_prefix@
26 prefix = @prefix@
27 srcdir = @srcdir@
28 VPATH = @srcdir@
29 PATH_SEPARATOR = @PATH_SEPARATOR@
31 # Should be GNU awk, for the get-them script.
32 AWK = @AWK@
34 # Vern says that the first star is required around an Alpha make bug.
35 CHECKS = $(srcdir)/*[0-9][0-9][0-9].*
36 # Makefile.in is automatically distributed by automake.
37 DISTFILES = $(srcdir)/get-them $(srcdir)/check-them $(srcdir)/stamp-checks
39 all: $(srcdir)/stamp-checks
41 $(srcdir)/stamp-checks: $(srcdir)/get-them $(srcdir)/../doc/m4.texinfo
42 rm -f $(CHECKS)
43 cd $(srcdir) && AWK=$(AWK) ./get-them ../doc/m4.texinfo
44 touch $(srcdir)/stamp-checks
46 install:
48 dvi pdf ps html info:
49 install-dvi install-pdf install-ps install-html install-info:
51 uninstall:
53 check: $(srcdir)/stamp-checks
54 PATH=`pwd`/../src"$(PATH_SEPARATOR)"$$PATH; export PATH; \
55 $(srcdir)/check-them -I $(srcdir)/../examples $(CHECKS)
57 installcheck: $(srcdir)/stamp-checks
58 PATH='$(bindir)'"$(PATH_SEPARATOR)"$$PATH; export PATH; \
59 $(srcdir)/check-them -I $(srcdir)/../examples $(CHECKS)
61 tags:
63 mostlyclean:
65 clean: mostlyclean
67 distclean: clean
68 rm -f Makefile
70 maintainer-clean realclean: distclean
71 rm -f $(CHECKS) $(srcdir)/stamp-checks
73 distdir: dist
75 dist: $(DISTFILES)
76 @echo "Copying distribution files"
77 @for file in $(DISTFILES) $(CHECKS); do \
78 ln $$file ../$(PACKAGE)-$(VERSION)/checks 2> /dev/null \
79 || cp -p $$file ../$(PACKAGE)-$(VERSION)/checks; \
80 done
82 Makefile: $(srcdir)/Makefile.in ../config.status
83 cd .. && ./config.status checks/$@
85 # Tell versions [3.59,3.63) of GNU make not to export all variables.
86 # Otherwise a system limit (for SysV at least) may be exceeded.
87 .NOEXPORT: