* texinfo.tex: Keep track of how negative the page numbers have
[make.git] / GNUmakefile
blobaedde5927886fcc692b2fae5c3cc9f4b814064d4
1 # This is a maintainer's-only makefile
3 # It bootstraps a GNU make maintainer's directory
6 .SUFFIXES:
8 NORECURSE = true
10 # If the user asked for a specific target, invoke the Mkaefile instead.
12 .DEFAULT:
13 @[ -f Makefile.in -a -f configure -a -f aclocal.m4 -a -f config.h.in ] \
14 || $(MAKE) __cfg NORECURSE=
15 @[ -f Makefile ] \
16 || ./configure
17 $(MAKE) -f Makefile $@
19 .PHONY: __cfg __cfg_basic TAGS
21 # This is variable since the glob subdirectory doesn't use it.
23 ACCONFIG = acconfig.h
25 __cfg: __cfg_basic config.h.in TAGS
26 cd glob && $(MAKE) -f ../GNUmakefile __cfg_basic ACCONFIG=
27 ifdef NORECURSE
28 @echo ""; echo "Now you should run one of:"; echo ""; \
29 echo " make all"; \
30 echo " make dist"; \
31 echo " make distdir"; \
32 echo " make distcheck"; echo ""; \
33 echo "Or similar to proceed.";\
34 echo ""
35 endif
37 __cfg_basic: aclocal.m4 stamp-h.in configure Makefile.in
39 aclocal.m4: configure.in
40 aclocal
42 config.h.in: stamp-h.in
43 stamp-h.in: configure.in aclocal.m4 $(ACCONFIG)
44 autoheader
45 echo timestamp > $@
47 configure: configure.in aclocal.m4
48 autoconf
50 Makefile.in: configure.in config.h.in Makefile.am aclocal.m4
51 automake --add-missing
53 TAGS:
54 find . -name '*.[ch]' -print | etags -