summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-05-26 09:32:24 +0000
committerwlemb <wlemb>2002-05-26 09:32:24 +0000
commitb817ae26d886ee414595f86cc439594157e5b02b (patch)
treebed9aa523cd30482250844d9939b82926be5b2cc /Makefile.in
parent7ac4c9363b34ad60a5d86ff911f498211dbe1a61 (diff)
downloadgroff-b817ae26d886ee414595f86cc439594157e5b02b.tar.gz
Including the doc subdir into groff's Makefile system.
* aclocal.m4 (GROFF_INSTALL_INFO): New function. * configure.ac: Use it. Generate `doc/Makefile'. * configure: Regenerated. * Makefile.in (infodir, INSTALL_INFO): New variables. (MDEFINES, uninstall_dirs): Updated. (OTHERDIRS): Add `doc'. * Makefile.comm (CLEANDIRADD): New variable. (mostlyclean): Use it. * doc/Makefile.sub, doc/Makefile.in: New files. * doc/Makefile: Removed. * NEWS, INSTALL: Updated. * doc/homepage.ms: Renamed to ... * doc/webpage.ms: This. Use `.NHR'. * contrib/mom/Makefile.sub (momdocdir): Removed. (HTMLDOCFILES): Prepend `momdoc/'. (EXTRAEXAMPLEFILES): Removed. Added entries to... (EXAMPLEFILES): This. (.SUFFIXES, .mom.ps): New. (prepare_make_examples): Updated. (examples/*.ps): Removed; .mom.ps will handle this. (install_data): Updated.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index f99d18ca..2677c77b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -98,6 +98,9 @@ datadir=@datadir@
dataprogramdir=$(datadir)/groff
datasubdir=$(dataprogramdir)/$(version)$(revision)
+# infodir says where to install info files
+infodir=@infodir@
+
# docdir says where to install documentation files
docdir=$(datadir)/doc/groff/$(version)$(revision)
@@ -277,6 +280,7 @@ INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_SCRIPT=@INSTALL_SCRIPT@
INSTALL_DATA=@INSTALL_DATA@
+INSTALL_INFO=@INSTALL_INFO@
LN_S=@LN_S@
AR=ar
ETAGS=etags
@@ -316,6 +320,7 @@ MDEFINES= \
"datadir=$(datadir)" \
"dataprogramdir=$(dataprogramdir)" \
"datasubdir=$(datasubdir)" \
+ "infodir=$(infodir)" \
"docdir=$(docdir)" \
"exampledir=$(exampledir)" \
"htmldocdir=$(htmldocdir)" \
@@ -422,7 +427,8 @@ OTHERDIRS=\
contrib/mm \
contrib/pic2graph \
contrib/groffer \
- contrib/mom
+ contrib/mom \
+ doc
ALLDIRS=$(INCDIRS) $(LIBDIRS) $(PROGDIRS) \
$(DEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS) $(OTHERDIRS)
EXTRADIRS=\
@@ -589,7 +595,7 @@ uninstall_dirs:
# Use rmdir here so that the directories are only removed if they're empty
-rmdir $(man1dir) $(man5dir) $(man7dir) $(manroot) \
$(tmacdir) $(systemtmacdir) $(localtmacdir) $(fontdir) $(bindir) \
- $(datasubdir) $(dataprogramdir) $(datadir) \
+ $(datasubdir) $(dataprogramdir) $(datadir) $(infodir) \
$(docdir) $(exampledir) $(htmldocdir) \
$(libprogramdir) $(libdir)