* .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>
*.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
/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
# 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
## 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
$(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 $@
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
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
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