(initialize_per_input): Reset them.
(handle_texinfo_helper): Fill @pss_list, and define the
PSS make variable.
* lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
(ps, ps-am): New targets.
* automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
`make ps' and `make pdf'.
(Texinfo): Document `make ps', `make pdf', and `make dvi'.
(Extending): The `ps' and `pdf' targets support a `-local' version.
+2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * automake.in (required_targets): Add ps and ps-am.
+ (initialize_per_input): Reset them.
+ (handle_texinfo_helper): Fill @pss_list, and define the
+ PSS make variable.
+ * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
+ (ps, ps-am): New targets.
+ * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
+ `make ps' and `make pdf'.
+ (Texinfo): Document `make ps', `make pdf', and `make dvi'.
+ (Extending): The `ps' and `pdf' targets support a `-local' version.
+
2002-06-26 Art Haas <ahaas@neosoft.com>
* automake.texi: s/.../@dots{}/.
INFO_DEPS = automake.info
DVIS = automake.dvi
PDFS = automake.pdf
+PSS = automake.ps
TEXINFOS = automake.texi
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
- install-info-recursive uninstall-info-recursive all-recursive \
- install-data-recursive install-exec-recursive \
+ ps-recursive install-info-recursive uninstall-info-recursive \
+ all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
pdf-am: $(PDFS)
+ps: ps-recursive
+
+ps-am: $(PSS)
+
uninstall-am: uninstall-binSCRIPTS uninstall-info-am
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
maintainer-clean-aminfo maintainer-clean-generic \
maintainer-clean-recursive maintainer-clean-vti mostlyclean \
mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
- mostlyclean-vti pdf pdf-am pdf-recursive tags tags-recursive \
- uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
- uninstall-info-recursive uninstall-recursive
+ mostlyclean-vti pdf pdf-am pdf-recursive ps ps-am ps-recursive \
+ tags tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
+ uninstall-info-am uninstall-info-recursive uninstall-recursive
install-exec-hook:
New in 1.6a:
* A new option, std-options, tests that programs support --help and --version
when `make installcheck' is run. This is enabled by --gnits.
-* PDF files are generated by Automake
+* Texinfo rules now support the `ps' and `pdf' targets.
* `make distcheck' will enforce DESTDIR support by attempting
a DESTDIR install.
* `+=' can be used in conditionals, even if the augmented variable
'all' => 1,
'dvi' => 1,
'pdf' => 1,
+ 'ps' => 1,
'info' => 1,
'install-info' => 1,
'install' => 1,
# targets will run them anyway...
'dvi-am' => 1,
'pdf-am' => 1,
+ 'ps-am' => 1,
'info-am' => 1,
'install-data-am' => 1,
'install-exec-am' => 1,
'dvi-am' => [],
'pdf' => [],
'pdf-am' => [],
+ 'ps' => [],
+ 'ps-am' => [],
'info' => [],
'info-am' => [],
my @texis = &variable_value_as_list_recursive ('info_TEXINFOS', 'all');
- my (@info_deps_list, @dvis_list, @pdfs_list, @texi_deps);
+ my (@info_deps_list, @dvis_list, @pdfs_list, @pss_list, @texi_deps);
my %versions;
my $done = 0;
my @texi_cleans;
push (@info_deps_list, $out_file);
push (@dvis_list, $infobase . '.dvi');
push (@pdfs_list, $infobase . '.pdf');
+ push (@pss_list, $infobase . '.ps');
}
# Handle location of texinfo.tex.
&define_variable ("INFO_DEPS", "@info_deps_list");
&define_variable ("DVIS", "@dvis_list");
&define_variable ("PDFS", "@pdfs_list");
+ &define_variable ("PSS", "@pss_list");
# This next isn't strictly needed now -- the places that look here
# could easily be changed to look in info_TEXINFOS. But this is
# probably better, in case noinst_TEXINFOS is ever supported.
This is used to byte-compile Python scripts.
@item texinfo.tex
-Not a program, this file is required for @code{make dvi} to work when
-Texinfo sources are in the package.
+Not a program, this file is required for @code{make dvi}, @code{make ps}
+and @code{make pdf} to work when Texinfo sources are in the package.
@item ylwrap
This program wraps @code{lex} and @code{yacc} and ensures that, for
@vindex TEXINFOS
@vindex info_TEXINFOS
+Automake generates rules to build @file{.info}, @file{.dvi}, @file{.ps},
+and @file{.pdf} files from your Texinfo sources. The @file{.info} files
+are built by @code{make all} and installed by @code{make install}
+(unless you use @code{no-installinfo}, see below). The other files can
+be built on request by @code{make dvi}, @code{make ps}, and @code{make
+pdf}.
+
@cindex Texinfo macro, VERSION
@cindex Texinfo macro, UPDATED
@cindex Texinfo macro, EDITION
The option @samp{no-texinfo.tex} can be used to eliminate the
requirement for @file{texinfo.tex}. Use of the variable
@code{TEXINFO_TEX} is preferable, however, because that allows the
-@code{dvi} target to still work.
+@code{dvi}, @code{ps}, and @code{pdf} targets to still work.
@cindex Target, install-info
@cindex Target, noinstall-info
your @file{Makefile.in}. Automake will supplement the standard target
with these user-supplied targets.
+@trindex all
@trindex all-local
+@trindex info
@trindex info-local
+@trindex dvi
@trindex dvi-local
+@trindex ps
+@trindex ps-local
+@trindex pdf
+@trindex pdf-local
+@trindex check
@trindex check-local
+@trindex install
@trindex install-data-local
+@trindex install-exec
@trindex install-exec-local
+@trindex uninstall
@trindex uninstall-local
+@trindex mostlyclean
@trindex mostlyclean-local
+@trindex clean
@trindex clean-local
+@trindex distclean
@trindex distclean-local
+@trindex installdirs
@trindex installdirs-local
+@trindex installcheck
@trindex installcheck-local
The targets that support a local version are @code{all}, @code{info},
-@code{dvi}, @code{check}, @code{install-data}, @code{install-exec},
-@code{uninstall}, @code{installdirs}, @code{installcheck} and the
-various @code{clean} targets (@code{mostlyclean}, @code{clean},
-@code{distclean}, and @code{maintainer-clean}). Note that there are no
+@code{dvi}, @code{ps}, @code{pdf}, @code{check}, @code{install-data},
+@code{install-exec}, @code{uninstall}, @code{installdirs},
+@code{installcheck} and the various @code{clean} targets
+(@code{mostlyclean}, @code{clean}, @code{distclean}, and
+@code{maintainer-clean}). Note that there are no
@code{uninstall-exec-local} or @code{uninstall-data-local} targets; just
use @code{uninstall-local}. It doesn't make sense to uninstall just
-data or just executables.
-@trindex all
-@trindex info
-@trindex dvi
-@trindex check
-@trindex install-data
-@trindex install-exec
-@trindex uninstall
For instance, here is one way to install a file in @file{/etc}:
pdf-am:
+ps: ps-am
+
+ps-am:
+
uninstall-am: uninstall-dist_perllibDATA uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic distclean \
install-info install-info-am install-man install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am uninstall uninstall-am uninstall-dist_perllibDATA \
- uninstall-info-am
+ pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-dist_perllibDATA uninstall-info-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
- install-info-recursive uninstall-info-recursive all-recursive \
- install-data-recursive install-exec-recursive \
+ ps-recursive install-info-recursive uninstall-info-recursive \
+ all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive
DIST_COMMON = $(dist_pkgvdata_DATA) $(dist_script_DATA) COPYING INSTALL \
pdf-am:
+ps: ps-recursive
+
+ps-am:
+
uninstall-am: uninstall-dist_pkgvdataDATA uninstall-dist_scriptDATA \
uninstall-info-am
installcheck-local installdirs installdirs-am \
installdirs-recursive maintainer-clean maintainer-clean-generic \
maintainer-clean-recursive mostlyclean mostlyclean-generic \
- mostlyclean-recursive pdf pdf-am pdf-recursive tags \
- tags-recursive uninstall uninstall-am \
+ mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
+ ps-recursive tags tags-recursive uninstall uninstall-am \
uninstall-dist_pkgvdataDATA uninstall-dist_scriptDATA \
uninstall-info-am uninstall-info-recursive uninstall-recursive
pdf-am:
+ps: ps-am
+
+ps-am:
+
uninstall-am: uninstall-dist_amDATA uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic distclean \
install-exec install-exec-am install-info install-info-am \
install-man install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-generic pdf pdf-am uninstall \
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
uninstall-am uninstall-dist_amDATA uninstall-info-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
.PHONY: info info-am dvi dvi-am pdf pdf-am
if %?SUBDIRS%
-RECURSIVE_TARGETS += info-recursive dvi-recursive pdf-recursive
+RECURSIVE_TARGETS += info-recursive dvi-recursive pdf-recursive ps-recursive
.PHONY info: info-recursive
.PHONY dvi: dvi-recursive
.PHONY pdf: pdf-recursive
+.PHONY ps: ps-recursive
else !%?SUBDIRS%
info: info-am
dvi: dvi-am
pdf: pdf-am
+ps: ps-am
endif !%?SUBDIRS%
if %?LOCAL-TEXIS%
info-am: $(INFO_DEPS)
dvi-am: $(DVIS)
pdf-am: $(PDFS)
+ps-am: $(PSS)
else ! %?LOCAL-TEXIS%
info-am:
dvi-am:
pdf-am:
+ps-am:
endif ! %?LOCAL-TEXIS%
pdf-am:
+ps: ps-am
+
+ps-am:
+
uninstall-am: uninstall-dist_m4dataDATA uninstall-info-am \
uninstall-nodist_m4dataDATA
install-man install-nodist_m4dataDATA install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am uninstall uninstall-am uninstall-dist_m4dataDATA \
- uninstall-info-am uninstall-nodist_m4dataDATA
+ pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-dist_m4dataDATA uninstall-info-am \
+ uninstall-nodist_m4dataDATA
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
pdf-am:
+ps: ps-am
+
+ps-am:
+
uninstall-am: uninstall-info-am
.PHONY: all all-am check check-TESTS check-am clean clean-generic \
install-exec install-exec-am install-info install-info-am \
install-man install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-generic pdf pdf-am uninstall \
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
uninstall-am uninstall-info-am