mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
build: no more make recursion for 'doc' subdir
* .gitignore: Adjust. * Makefile.am ($(srcdir)/doc/local.mk): New include. (SUBDIRS): Drop 'doc'. (AM_MAKEINFOFLAGS): Rename ... (custom_MAKEINFOFLAGS): ... like this, to avoid conflicting with the AM_MAKEINFOFLAGS defined in the included 'doc/local.mk' ($(srcdir)/INSTALL): Adjust recipe. * doc/Makefile.am: Rename ... * doc/local.mk: ... like this, and adjust. * configure.ac (AC_CONFIG_FILES): Drop 'doc/Makefile'. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
This commit is contained in:
parent
3184ecc187
commit
ac62b53ff7
35
.gitignore
vendored
35
.gitignore
vendored
@ -1,9 +1,36 @@
|
||||
*.log
|
||||
*.m4f
|
||||
*.tmp
|
||||
*.AC
|
||||
*.ACs
|
||||
*.AT
|
||||
*.ATs
|
||||
*.CA
|
||||
*.CAs
|
||||
*.MS
|
||||
*.MSs
|
||||
*.aux
|
||||
*.cp
|
||||
*.cps
|
||||
*.cv
|
||||
*.cvs
|
||||
*.ev
|
||||
*.evs
|
||||
*.fn
|
||||
*.fns
|
||||
*.ky
|
||||
*.ov
|
||||
*.ovs
|
||||
*.pg
|
||||
*.pr
|
||||
*.prs
|
||||
*.toc
|
||||
*.tp
|
||||
*.vr
|
||||
*~
|
||||
.#*
|
||||
.version
|
||||
.dirstamp
|
||||
CVS
|
||||
/ChangeLog
|
||||
/Fetchdir
|
||||
@ -32,15 +59,15 @@ Makefile.in
|
||||
/config.status
|
||||
/configure
|
||||
/configure.scan
|
||||
/doc/*.??
|
||||
!/doc/Makefile.am
|
||||
/doc/*.???
|
||||
/doc/*.html
|
||||
/doc/*.info*
|
||||
/doc/manual
|
||||
/doc/stamp-vti
|
||||
/doc/standards
|
||||
/doc/version.texi
|
||||
/doc/*.dvi
|
||||
/doc/*.html
|
||||
/doc/*.pdf
|
||||
/doc/*.ps
|
||||
/lib/autom4te.cfg
|
||||
/lib/autoscan/autoscan.list
|
||||
/lib/emacs/*.elc
|
||||
|
@ -18,7 +18,7 @@
|
||||
# bin/ must be run first, as it builds executables needed for tests.
|
||||
# autom4te uses autotest.m4f to generate 'testsuite', so build tests last.
|
||||
# Rules in man/ use scripts from both bin/ and tests/, so *it* goes last.
|
||||
SUBDIRS = bin . lib doc tests man
|
||||
SUBDIRS = bin . lib tests man
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
@ -35,7 +35,7 @@ EXTRA_DIST = ChangeLog.0 ChangeLog.1 ChangeLog.2 ChangeLog.3 \
|
||||
## INSTALL. ##
|
||||
## --------- ##
|
||||
|
||||
AM_MAKEINFOFLAGS = --no-headers --no-validate --no-split
|
||||
custom_MAKEINFOFLAGS = --no-headers --no-validate --no-split
|
||||
|
||||
if MAKE_CASE_SENSITIVE
|
||||
pkgdata_DATA = $(srcdir)/INSTALL
|
||||
@ -49,7 +49,7 @@ CONVERT_QUOTES = "s/\`\([^']*\)'/'\1'/g"
|
||||
$(srcdir)/INSTALL: $(top_srcdir)/doc/install.texi
|
||||
echo @firstparagraphindent insert \
|
||||
| cat - $(top_srcdir)/doc/install.texi > tmp.texi
|
||||
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
|
||||
$(MAKEINFO) $(custom_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
|
||||
--plaintext tmp.texi \
|
||||
| sed -e $(CONVERT_QUOTES) -e $(OMIT_TRAILING_EMPTY_LINES) \
|
||||
> $@-t && mv $@-t $@
|
||||
@ -102,6 +102,8 @@ dist-hook: gen-ChangeLog
|
||||
distclean-local:
|
||||
if test x"$(VPATH)" != x ; then rm -f GNUmakefile ; fi
|
||||
|
||||
include $(srcdir)/doc/local.mk
|
||||
|
||||
# Perl coverage statistics.
|
||||
PERL_COVERAGE_DB = `pwd`/cover_db
|
||||
PERL_COVERAGE_FLAGS = -MDevel::Cover=-db,$(PERL_COVERAGE_DB),-silent,on,-summary,off
|
||||
|
@ -207,7 +207,7 @@ AC_PROG_MAKE_CASE_SENSITIVE
|
||||
dnl Allow maintainer rules under GNU make even in VPATH builds.
|
||||
AC_CONFIG_LINKS([GNUmakefile:GNUmakefile])
|
||||
|
||||
AC_CONFIG_FILES([Makefile doc/Makefile
|
||||
AC_CONFIG_FILES([Makefile
|
||||
lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile
|
||||
lib/m4sugar/Makefile
|
||||
lib/autoconf/Makefile lib/autotest/Makefile
|
||||
|
@ -17,17 +17,27 @@
|
||||
|
||||
AM_MAKEINFOFLAGS = --no-split
|
||||
TEXI2HTML_FLAGS = -split_chapter
|
||||
TEXINFO_TEX = ../build-aux/texinfo.tex
|
||||
TEXINFO_TEX = build-aux/texinfo.tex
|
||||
|
||||
info_TEXINFOS = autoconf.texi standards.texi
|
||||
autoconf_TEXINFOS = fdl.texi install.texi
|
||||
standards_TEXINFOS = fdl.texi gnu-oids.texi make-stds.texi
|
||||
info_TEXINFOS = doc/autoconf.texi doc/standards.texi
|
||||
doc_autoconf_TEXINFOS = doc/fdl.texi doc/install.texi
|
||||
doc_standards_TEXINFOS = doc/fdl.texi doc/gnu-oids.texi doc/make-stds.texi
|
||||
|
||||
EXTRA_DIST = gendocs_template
|
||||
EXTRA_DIST += doc/gendocs_template
|
||||
|
||||
# Files from texi2dvi that should be removed, but which Automake does
|
||||
# not know.
|
||||
CLEANFILES = autoconf.ACs autoconf.cvs autoconf.MSs autoconf.prs \
|
||||
autoconf.ATs autoconf.evs autoconf.fns autoconf.ovs \
|
||||
autoconf.ca autoconf.CA autoconf.cas autoconf.CAs \
|
||||
autoconf.tmp
|
||||
CLEANFILES = \
|
||||
autoconf.ACs \
|
||||
autoconf.cvs \
|
||||
autoconf.MSs \
|
||||
autoconf.prs \
|
||||
autoconf.ATs \
|
||||
autoconf.evs \
|
||||
autoconf.fns \
|
||||
autoconf.ovs \
|
||||
autoconf.ca \
|
||||
autoconf.CA \
|
||||
autoconf.cas \
|
||||
autoconf.CAs \
|
||||
autoconf.tmp
|
Loading…
Reference in New Issue
Block a user