diff options
author | Akim Demaille <akim@epita.fr> | 2000-01-26 12:32:13 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2000-01-26 12:32:13 +0000 |
commit | 7e58050fc5cb31a07e02d3812de09984cc9fb248 (patch) | |
tree | 49c5ccb614a133ae7e2fbd064b3ac4f8241721e0 /man | |
parent | 3c45adf66cfc14b7d9d71c5a21251cb35c44195e (diff) | |
download | autoconf-7e58050fc5cb31a07e02d3812de09984cc9fb248.tar.gz |
1999-10-31 Akim Demaille <akim@epita.fr>
Create man pages for the executables.
* Makefile.am (SUBDIRS): Add `man' and prepend `.' so that
executables be built before help2man is run.
* configure.in (AC_OUTPUT): Add man/Makefile.
AC_MSG_ERROR, not AC_ERROR.
Check for missing help2man.
* man/Makefile.am: New file.
* man/autoconf.x: Likewise.
* man/autoreconf.x: Likewise.
* man/autoheader.x: Likewise.
* man/autoscan.x: Likewise.
* man/autoupdate.x: Likewise.
* man/ifnames.x: Likewise.
* man/common.x: Likewise.
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.am | 33 | ||||
-rw-r--r-- | man/Makefile.in | 266 | ||||
-rw-r--r-- | man/autoconf.x | 3 | ||||
-rw-r--r-- | man/autoheader.x | 3 | ||||
-rw-r--r-- | man/autoreconf.x | 2 | ||||
-rw-r--r-- | man/autoscan.x | 3 | ||||
-rw-r--r-- | man/autoupdate.x | 3 | ||||
-rw-r--r-- | man/common.x | 7 | ||||
-rw-r--r-- | man/ifnames.x | 3 |
9 files changed, 323 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 00000000..d84d16cf --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,33 @@ +## Process this file with automake to produce Makefile.in -*-Makefile-*- +man_MANS = autoconf.1 autoreconf.1 autoheader.1 autoupdate.1 ifnames.1 \ +autoscan.1 + +man_aux = autoconf.x autoreconf.x autoheader.x autoupdate.x ifnames.x \ +autoscan.x + +EXTRA_DIST = $(man_MANS) $(man_aux) common.x +MAINTAINERCLEANFILES = $(man_MANS) + +# Depend on configure.in to get version number changes. +$(man_MANS): $(top_srcdir)/configure.in $(srcdir)/common.x +autoconf.1: $(srcdir)/autoconf.x $(top_srcdir)/autoconf.sh +autoreconf.1: $(srcdir)/autoreconf.x $(top_srcdir)/autoreconf.sh +autoheader.1: $(srcdir)/autoheader.x $(top_srcdir)/autoheader.sh +autoupdate.1: $(srcdir)/autoupdate.x $(top_srcdir)/autoupdate.sh +ifnames.1: $(srcdir)/ifnames.x $(top_srcdir)/ifnames.sh +autoscan.1: $(srcdir)/autoscan.x $(top_srcdir)/autoscan.pl + +SUFFIXES = .x .1 + +.x.1: + @if test -f $(top_builddir)/$*; then \ + echo "Updating man page $@"; \ + $(HELP2MAN) \ + --include=$(srcdir)/$*.x \ + --include=$(srcdir)/common.x \ + --output=$@ \ + $(top_builddir)/$*; \ + else \ + echo "WARNING: The man page $@ cannot be updated yet."; \ + echo " Retry once the corresponding executable is built."; \ + fi diff --git a/man/Makefile.in b/man/Makefile.in new file mode 100644 index 00000000..2559e819 --- /dev/null +++ b/man/Makefile.in @@ -0,0 +1,266 @@ +# Makefile.in generated automatically by automake 1.4a from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = .. + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_FLAG = +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +AMDEP = @AMDEP@ +AMTAR = @AMTAR@ +AWK = @AWK@ +CC = @CC@ +CPP = @CPP@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +DEPDIR = @DEPDIR@ +HELP2MAN = @HELP2MAN@ +M4 = @M4@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PERL = @PERL@ +PERLSCRIPTS = @PERLSCRIPTS@ +VERSION = @VERSION@ +install_sh = @install_sh@ +standards_texi = @standards_texi@ + + +man_MANS = autoconf.1 autoreconf.1 autoheader.1 autoupdate.1 ifnames.1 \ +autoscan.1 + + +man_aux = autoconf.x autoreconf.x autoheader.x autoupdate.x ifnames.x \ +autoscan.x + + +EXTRA_DIST = $(man_MANS) $(man_aux) common.x +MAINTAINERCLEANFILES = $(man_MANS) + +SUFFIXES = .x .1 +subdir = man +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +CFLAGS = @CFLAGS@ +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +DIST_SOURCES = +man1dir = $(mandir)/man1 +MANS = $(man_MANS) + +NROFF = nroff +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +.SUFFIXES: .1 .x +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +install-man1: + $(mkinstalldirs) $(DESTDIR)$(man1dir) + @list='$(man1_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ + else file=$$i; fi; \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ + done + +uninstall-man1: + @list='$(man1_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ + rm -f $(DESTDIR)$(man1dir)/$$inst; \ + done +install-man: $(MANS) + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-man1 +uninstall-man: + @$(NORMAL_UNINSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pR $$d/$$file $(distdir); \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: install-man +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-man +uninstall: uninstall-am +all-am: Makefile $(MANS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: + -rm -f Makefile.in + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +mostlyclean-am: mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: install-man1 uninstall-man1 install-man uninstall-man tags \ +distdir info-am info dvi-am dvi check check-am installcheck-am \ +installcheck install-exec-am install-exec install-data-am install-data \ +install-am install uninstall-am uninstall all-redirect all-am all \ +install-strip installdirs mostlyclean-generic distclean-generic \ +clean-generic maintainer-clean-generic clean mostlyclean distclean \ +maintainer-clean + + +# Depend on configure.in to get version number changes. +$(man_MANS): $(top_srcdir)/configure.in $(srcdir)/common.x +autoconf.1: $(srcdir)/autoconf.x $(top_srcdir)/autoconf.sh +autoreconf.1: $(srcdir)/autoreconf.x $(top_srcdir)/autoreconf.sh +autoheader.1: $(srcdir)/autoheader.x $(top_srcdir)/autoheader.sh +autoupdate.1: $(srcdir)/autoupdate.x $(top_srcdir)/autoupdate.sh +ifnames.1: $(srcdir)/ifnames.x $(top_srcdir)/ifnames.sh +autoscan.1: $(srcdir)/autoscan.x $(top_srcdir)/autoscan.pl + +.x.1: + @if test -f $(top_builddir)/$*; then \ + echo "Updating man page $@"; \ + $(HELP2MAN) \ + --include=$(srcdir)/$*.x \ + --include=$(srcdir)/common.x \ + --output=$@ \ + $(top_builddir)/$*; \ + else \ + echo "WARNING: The man page $@ cannot be updated yet."; \ + echo " Retry once the corresponding executable is built."; \ + fi + +# 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. +.NOEXPORT: diff --git a/man/autoconf.x b/man/autoconf.x new file mode 100644 index 00000000..615d2e59 --- /dev/null +++ b/man/autoconf.x @@ -0,0 +1,3 @@ +[name] +autoconf \- Generate configuration scripts + diff --git a/man/autoheader.x b/man/autoheader.x new file mode 100644 index 00000000..a3e0eba7 --- /dev/null +++ b/man/autoheader.x @@ -0,0 +1,3 @@ +[name] +autoheader \- Create a template header for configure + diff --git a/man/autoreconf.x b/man/autoreconf.x new file mode 100644 index 00000000..89d42615 --- /dev/null +++ b/man/autoreconf.x @@ -0,0 +1,2 @@ +[name] +autoreconf \- Update generated configuration files diff --git a/man/autoscan.x b/man/autoscan.x new file mode 100644 index 00000000..ce120eba --- /dev/null +++ b/man/autoscan.x @@ -0,0 +1,3 @@ +[name] +autoscan \- Generate a preliminary configure.in + diff --git a/man/autoupdate.x b/man/autoupdate.x new file mode 100644 index 00000000..23aa18c3 --- /dev/null +++ b/man/autoupdate.x @@ -0,0 +1,3 @@ +[name] +autoupdate \- Update a configure.in to a newer Autoconf + diff --git a/man/common.x b/man/common.x new file mode 100644 index 00000000..e07db42d --- /dev/null +++ b/man/common.x @@ -0,0 +1,7 @@ +[see also] +.BR autoconf (1), +.BR autoreconf (1), +.BR autoupdate (1), +.BR autoheader (1), +.BR autoscan (1), +.BR ifnames (1). diff --git a/man/ifnames.x b/man/ifnames.x new file mode 100644 index 00000000..214ccceb --- /dev/null +++ b/man/ifnames.x @@ -0,0 +1,3 @@ +[name] +ifnames \- Extract CPP conditionals from a set of files + |