aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in48
1 files changed, 38 insertions, 10 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 91b1a887..f6a9c33c 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.7.3 from Makefile.am.
+# Makefile.in generated by automake 1.7.5 from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
@@ -168,7 +168,7 @@ target_alias = @target_alias@
info_TEXINFOS = gawk.texi gawkinet.texi
-man_MANS = gawk.1 igawk.1 pgawk.1
+man_MANS = gawk.1 igawk.1
EXTRA_DIST = ChangeLog README.card ad.block setter.outline \
awkcard.in awkforai.txt texinfo.tex cardfonts \
@@ -188,7 +188,20 @@ CARDFILES = $(CARDSRC) ad.block awkcard.in setter.outline
# Use this if your troff can correctly handle macros from 'colors' file
AWKCARD = awkcard.ps
+
+# Uncomment the following definition of AWKCARD if your troff can produce
+# Postscript but still has troubles with macros from 'colors'. As this
+# is not groff you will have to change TROFF macro as well. Do not forget
+# to ensure that awkcard.tr is processed by tbl.
+#AWKCARD = awkcard.nc
+
+# The following is patterned after the main Makefile.am. The point is to
+# make pgawk.1 a link to gawk.1 in the installed man directory.
+
+# We want hard links for install-data-hook, below
+LN = ln
subdir = doc
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
@@ -207,7 +220,7 @@ all: all-am
.SUFFIXES:
.SUFFIXES: .dvi .info .pdf .ps .texi
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu doc/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@@ -382,7 +395,6 @@ all-am: Makefile $(INFO_DEPS) $(MANS)
installdirs:
$(mkinstalldirs) $(DESTDIR)$(infodir) $(DESTDIR)$(man1dir)
-
install: install-am
install-exec: install-exec-am
install-data: install-data-am
@@ -424,6 +436,8 @@ info: info-am
info-am: $(INFO_DEPS)
install-data-am: install-info-am install-man
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) install-data-hook
install-exec-am:
@@ -477,6 +491,8 @@ ps: ps-am
ps-am: $(PSS)
uninstall-am: uninstall-info-am uninstall-man
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
uninstall-man: uninstall-man1
@@ -491,11 +507,15 @@ uninstall-man: uninstall-man1
uninstall-info-am uninstall-man uninstall-man1
-# Uncomment the following definition of AWKCARD if your troff can produce
-# Postscript but still has troubles with macros from 'colors'. As this
-# is not groff you will have to change TROFF macro as well. Do not forget
-# to ensure that awkcard.tr is processed by tbl.
-#AWKCARD = awkcard.nc
+# Link gawk.1 to pgawk.1
+install-data-hook:
+ (cd $(DESTDIR)$(man1dir); \
+ $(LN) gawk.1 pgawk.1 2>/dev/null ; \
+ exit 0)
+
+# Undo the above when uninstalling
+uninstall-hook:
+ cd $(DESTDIR)$(man1dir); rm -f pgawk.1 ; exit 0
postscript: gawk.ps gawkinet.ps gawk.1.ps igawk.1.ps $(AWKCARD)
@@ -520,8 +540,16 @@ awkcard.ps: $(CARDFILES)
awkcard.nc: $(CARDFILES)
$(TROFF) $(CARDSRC_N) | $(SEDME) | cat $(srcdir)/setter.outline - > awkcard.ps && touch awkcard.nc
+html: gawk.html gawkinet.html
+
+gawk.html: gawk.texi
+ $(MAKEINFO) --html $<
+
+gawkinet.html: gawkinet.texi
+ $(MAKEINFO) --html $<
+
clean:
- rm -f *.ps *~ awkcard.nc awkcard.tr
+ rm -f *.ps *~ awkcard.nc awkcard.tr *.html
distclean: clean
# Tell versions [3.59,3.63) of GNU make to not export all variables.