lib/am/texibuild.am


Log

Author Commit Date CI Message
Alexandre Duret-Lutz 5eec56e1 2003-04-14T19:59:30 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk> Alexandre Duret-Lutz <adl@gnu.org> * automake.in (output_texinfo_build_rules, handle_texinfo_helper, initialize_per_input): Add infrastructure for generating HTML documentation from texinfo source. * lib/am/texinfos.am: Add rules for building HTML documentation from texinfo source. * lib/am/texibuild.am: Likewise. * automake.texi (Texinfo): Document rules for building HTML documentation from texinfo source. * tests/txinfo21.test: New file. * tests/Makefile.am (TESTS): Add txinfo21.test. * tests/defs.in: Handle required=makeinfo-html.
Alexandre Duret-Lutz 421258da 2003-02-25T20:07:33 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search when outputing suffix rules. * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi) (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise. Suggested by Bruno Haible.
Alexandre Duret-Lutz 9fee13fe 2003-02-24T22:09:21 * lib/am/texibuild.am: Don't remove the target info files. Instead, back up and restore them if makeinfo fails. * tests/txinfo20.test: New file. * tests/Makefile.am (TESTS): Add txinfo20.test.
Alexandre Duret-Lutz 7d180ac5 2003-02-20T16:49:44 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...) instead of ${...}.
Alexandre Duret-Lutz 7a486d61 2003-02-19T19:12:56 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install DJGPP-style *.iNN info files. (maintainer-clean-aminfo): Rewrite using the same pattern as in uninstall-info-am. * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase DJGPP-style *.iNN info files before running $(MAKEINFO). * tests/txinfo19.test: New file. * tests/Makefile.am (TESTS): Add txinfo19.test.
Alexandre Duret-Lutz f373ac53 2002-11-30T13:11:05 * tests/texinfo3.test: Make sure we don't output single suffix inference rules when building `.info'-less Info files (this confuses Solaris make). Run distcheck to make sure the rules work. * automake.in (output_texinfo_build_rules): Define GENERIC_INFO and SOURCE_INFO. * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%, %DEST_PREFIX%%DEST_SUFFIX%): Honor GENERIC_INFO and SOURCE_INFO.
Paul Eggert 619efeff 2002-10-09T00:02:40 (%DEST_PREFIX%%DEST_SUFFIX%, %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Use "makeinfo -o output input", not "makeinfo input -o output", as the latter fails if POSIXLY_CORRECT=1.
Alexandre Duret-Lutz eeca14b0 2002-09-24T22:30:38 * automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%. * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%, %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency.
Akim Demaille 60308a02 2002-09-11T08:00:10 * lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since it was already supported when --pdf support was added.
Alexandre Duret-Lutz b2aa3fc8 2002-09-04T22:08:34 For automake/354: * lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf): Don't use `-o' unless necessary.
Alexandre Duret-Lutz 966ba774 2002-08-25T20:45:51 For PR automake/343: * automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps, and pdf. (output_texinfo_build_rules): Define %DIRSTAMP% when processing texibuild.am. Return $dirstamp and a list of files to clean. (handle_texinfo_helper): Process texi-vers.am after the call to output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%. * lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed. * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise. (%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%. * tests/texinfo13.test: New file. * tests/Makefile.am (TESTS): Add texinfo13.test. * lib/am/texinfos.am (install-info-am, dist-info): Looks for info files in build or source directory. This completes the change from 2002-07-30 (for PR automake/168).
Alexandre Duret-Lutz 675e25d1 2002-07-30T20:15:32 Build info files in builddir instead of srcdir (for PR automake/168), and prepare support for info files in subdirecties. * automake.in (output_texinfo_build_rules): New function. (handle_texinfo_helper): Use output_texinfo_build_rules, and prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR. * lib/am/texi-vers.am: Build version.texi and stamp-vti in the current directory, not $(srcdir). Use %STAMPVTI% to name the stamp file. * lib/am/texibuild.am: Rewrite to output files in the current directory, not $(srcdir). Also, support both generic and non-generic output. Pass `-o $@' to makeinfo, texinfo, and texi2dvi -- this is a partial fix for PR automake/339. * tests/texinfo3.test: Make sure the `.texi:' rule is output. * tests/texinfo10.test: Use set -e, so the checks are not ignored. * tests/texinfo16.test: New file. * tests/Makefile.am (TESTS): Add texinfo16.test.
Alexandre Duret-Lutz cd47e617 2002-06-13T08:09:36 2002-05-03 Paolo Bonzini <bonzini@gnu.org> * automake.in (required_targets): Add the pdf and pdf-am targets. (initialize_per_input): Likewise. (scan_texinfo_file): Add pdf to @clean_suffixes. (handle_texinfo_helper): Output the .pdf dependencies, and define the PDFS variable. * lib/am/texinfos.am (TEXI2PDF): New variable. (pdf, pdf-am): New targets. (.PHONY): Add pdf, pdf-am, and pdf-recursive. * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
Tim Van Holder 79cfc715 2001-09-23T10:16:51 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to neutralize CDPATH for us. * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore. * lib/am/texibuild.am: Use @PATH_SEPARATOR@, not ':' to build TEXINPUTS.
Tom Tromey 7a4b8c90 2001-05-28T23:58:45 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and AM_MAKEINFOFLAGS. (.%SUFFIX%.dvi): Likewise. (.%SUFFIX%): Likewise.
Akim Demaille e8133bcf 2001-02-27T09:12:42 Distinguish automake substitutions from config.status substitutions. * automake.in (&add_depend2): Transform AMDEP. (&handle_clean): Transform MCFILES and MFILES. (&file_contents): Transform MAINTAINER_MODE. (&transform, &am_install_var): Use `%', not `@'. Adjust all the *.am files. * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN. * depend2.am: Display the double dependency on both ?AMDEP? and @AMDEP@.
Tom Tromey 3773f48b 2001-02-25T04:37:52 * Makefile.am (amfiles): Added texibuild.am. * texibuild.am: New file. * tests/Makefile.am (TESTS): Added texinfo9.test. * tests/texinfo9.test: New file. * automake.in (handle_texinfo): Keep track of suffixes used. Give error if suffix unrecognized. Removed extraneous newline.