Use gnulib's git-merge-changelog driver when available.
[m4/ericb.git] / checks / Makefile.in
blobd06da72e85b420ffecdb78a66854198a167af676
1 ## Makefile.in - template for building Makefile for M4 testsuite.
2 ##
3 ## Copyright (C) 1992, 1993, 1994, 2006, 2007, 2008 Free Software
4 ## Foundation, Inc.
5 ##
6 ## This file is part of GNU M4.
7 ##
8 ## GNU M4 is free software: you can redistribute it and/or modify
9 ## it under the terms of the GNU General Public License as published by
10 ## the Free Software Foundation, either version 3 of the License, or
11 ## (at your option) any later version.
13 ## GNU M4 is distributed in the hope that it will be useful,
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ## GNU General Public License for more details.
18 ## You should have received a copy of the GNU General Public License
19 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
21 @SET_MAKE@
22 PACKAGE = @PACKAGE@
23 VERSION = @VERSION@
25 SHELL = @SHELL@
27 bindir = @bindir@
28 exec_prefix = @exec_prefix@
29 prefix = @prefix@
30 srcdir = @srcdir@
31 VPATH = @srcdir@
32 PATH_SEPARATOR = @PATH_SEPARATOR@
34 # Should be GNU awk, for the get-them script.
35 AWK = @AWK@
37 # Vern says that the first star is required around an Alpha make bug.
38 CHECKS = $(srcdir)/*[0-9][0-9][0-9].*
39 # Makefile.in is automatically distributed by automake.
40 DISTFILES = $(srcdir)/get-them $(srcdir)/check-them $(srcdir)/stamp-checks
42 all: $(srcdir)/stamp-checks
44 $(srcdir)/stamp-checks: $(srcdir)/get-them $(srcdir)/../doc/m4.texinfo
45 rm -f $(CHECKS)
46 cd $(srcdir) && AWK=$(AWK) ./get-them ../doc/m4.texinfo
47 touch $(srcdir)/stamp-checks
49 install:
51 dvi pdf ps html info:
52 install-dvi install-pdf install-ps install-html install-info:
54 uninstall:
56 check: $(srcdir)/stamp-checks
57 PATH=`pwd`/../src"$(PATH_SEPARATOR)"$$PATH; export PATH; \
58 $(srcdir)/check-them -I $(srcdir)/../examples $(CHECKS)
60 installcheck: $(srcdir)/stamp-checks
61 PATH='$(bindir)'"$(PATH_SEPARATOR)"$$PATH; export PATH; \
62 $(srcdir)/check-them -I $(srcdir)/../examples $(CHECKS)
64 tags:
66 mostlyclean:
68 clean: mostlyclean
70 distclean: clean
71 rm -f Makefile
73 maintainer-clean realclean: distclean
74 rm -f $(CHECKS) $(srcdir)/stamp-checks
76 distdir: dist
78 dist: $(DISTFILES)
79 @echo "Copying distribution files"
80 @for file in $(DISTFILES) $(CHECKS); do \
81 ln $$file ../$(PACKAGE)-$(VERSION)/checks 2> /dev/null \
82 || cp -p $$file ../$(PACKAGE)-$(VERSION)/checks; \
83 done
85 Makefile: $(srcdir)/Makefile.in ../config.status
86 cd .. && ./config.status checks/$@
88 # Tell versions [3.59,3.63) of GNU make not to export all variables.
89 # Otherwise a system limit (for SysV at least) may be exceeded.
90 .NOEXPORT: