From f20a21e79470ba332827acd155809c3a524e184e Mon Sep 17 00:00:00 2001
From: Shantonu Sen <ssen@mit.edu>
Date: Fri, 19 Jan 2001 21:22:08 +0000
Subject: [PATCH] don't build vmh.1 since vmh isn't distributed, and we no
 longer need tmac.h

---
 man/Makefile.in | 34 ++++++----------------
 man/mh-mts.man  |  3 --
 man/tmac.h.in   | 77 -------------------------------------------------
 man/vmh.man     |  3 --
 4 files changed, 9 insertions(+), 108 deletions(-)
 delete mode 100644 man/tmac.h.in

diff --git a/man/Makefile.in b/man/Makefile.in
index 41d3e948..909e9193 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -50,13 +50,6 @@ POPSED = @POPSED@
 .man.$(manext8):
 	$(SEDMAN)
 
-# include file for the man pages.  It is installed
-# in the nmh library directory.
-HDR = tmac.h
-
-# input file for header
-DIST_HDR = tmac.h.in
-
 # man pages to install in $(mandir)/$(manext1)
 MAN1SRC = ali. anno. burst. comp.		\
        dist. flist. flists. folder. folders.	\
@@ -69,7 +62,7 @@ MAN1SRC = ali. anno. burst. comp.		\
        rcvstore. rcvtty. refile.		\
        repl. rmf. rmm. scan.			\
        send. sendfiles. show. slocal.		\
-       sortm. vmh. whatnow. whom.
+       sortm. whatnow. whom.
 
 MAN5SRC = mh-alias. mh-draft. mh-format.	\
        mh-mail. mh-profile. mh-sequence.	\
@@ -82,6 +75,9 @@ MAN1 := $(MAN1SRC:.=.$(manext1))
 MAN5 := $(MAN5SRC:.=.$(manext5))
 MAN8 := $(MAN8SRC:.=.$(manext8))
 
+# Since vmh is not built or distributed, neither should vmh.1 be
+# MANEXTRA = vmh. 
+
 # source for man pages
 DIST_MANSRC = $(MAN1SRC) $(MAN5SRC) $(MAN8SRC)
 DIST_MAN = $(DIST_MANSRC:.=.man)
@@ -90,17 +86,14 @@ DIST_MAN = $(DIST_MANSRC:.=.man)
 AUX = Makefile.in
 
 # all files in this directory included in the distribution
-DIST = $(DIST_HDR) $(DIST_MAN) $(AUX)
+DIST = $(DIST_MAN) $(AUX)
 
 # ========= DEFAULT TARGET ==========
 
-all: tmac.h $(MAN1) $(MAN5) $(MAN8)
+all: $(MAN1) $(MAN5) $(MAN8)
 
 $(MAN1) $(MAN5) $(MAN8): man.sed
 
-tmac.h: man.sed tmac.h.in
-	$(SED) -f man.sed $(srcdir)/tmac.h.in > $@
-
 # create the sed file for building man pages
 man.sed: Makefile
 	echo 's,%nmhwarning%,THIS FILE HAS BEEN AUTOMATICALLY GENERATED.  DO NOT EDIT.,g' > $@
@@ -133,12 +126,7 @@ man.sed: Makefile
 
 # ========= INSTALL TARGETS =========
 
-install: install-hdr install-man1 install-man5 install-man8
-
-# install the include file for man pages
-install-hdr:
-	$(top_srcdir)/mkinstalldirs $(etcdir)
-	$(INSTALL_DATA) tmac.h $(etcdir)/tmac.h
+install: install-man1 install-man5 install-man8
 
 # install the man pages in man1
 install-man1:
@@ -167,11 +155,7 @@ install-man8:
 
 # ========= UNINSTALL TARGETS =========
 
-uninstall: uninstall-hdr uninstall-man1 uninstall-man5 uninstall-man8
-
-# uninstall the include file for man pages
-uninstall-hdr:
-	rm -f $(etcdir)/tmac.h
+uninstall: uninstall-man1 uninstall-man5 uninstall-man8
 
 # uninstall the man pages in man1
 uninstall-man1:
@@ -197,7 +181,7 @@ mostlyclean:
 	rm -f *~
 
 clean: mostlyclean
-	rm -f man.sed tmac.h *.$(manext1) *.$(manext5) *.$(manext8)
+	rm -f man.sed *.$(manext1) *.$(manext5) *.$(manext8)
 
 distclean: clean
 	rm -f Makefile
diff --git a/man/mh-mts.man b/man/mh-mts.man
index 6c59bbc8..731c5976 100644
--- a/man/mh-mts.man
+++ b/man/mh-mts.man
@@ -2,9 +2,6 @@
 .\" %nmhwarning%
 .\" $Id$
 .\"
-.\" include the -mh macro file
-.so %etcdir%/tmac.h
-.\"
 .TH MH-MTS %manext8% "%nmhdate%" MH.6.8 [%nmhversion%]
 .SH NAME
 mh-mts \- the nmh interface to the message transport system
diff --git a/man/tmac.h.in b/man/tmac.h.in
deleted file mode 100644
index 7b49b791..00000000
--- a/man/tmac.h.in
+++ /dev/null
@@ -1,77 +0,0 @@
-.\"
-.\" $Id$
-.\"    Try to keep only one copy of the documentation around
-.\"    by re-defining macros and so forth.
-.\"
-.fc ^ ~
-.\"    I pity the fool who tampers with the next line...
-.ds ZZ -man
-.de SC					\" Title section
-.TH \\$1 \\$2 MH.6.8 [%nmhversion%]
-..
-.de NA					\" Name section
-.SH NAME
-..
-.de SY					\" Synopsis section
-.SH SYNOPSIS
-.in +.5i
-.ti -.5i
-..
-.de DE					\" Description section
-.in -.5i
-.SH DESCRIPTION
-..
-.de Fi					\" Files section
-.SH FILES
-.nf
-.ta \w'/usr/local/nmh/lib/ExtraBigFileName  'u
-..
-.de Pr					\" Profile section
-.SH "PROFILE\ COMPONENTS"
-.nf
-.ta 2.4i
-.ta \w'ExtraBigProfileName  'u
-..
-.de Ps					\" Profile next
-.br
-..
-.de Sa					\" See Also section
-.fi
-.SH "SEE\ ALSO"
-..
-.de De					\" Defaults section
-.SH "DEFAULTS"
-.nf
-..
-.de Ds					\" Defaults next
-.br
-..
-.de Co					\" Context section
-.fi
-.SH CONTEXT
-..
-.de Hh					\" Hints section
-.fi
-.SH "HELPFUL HINTS"
-..
-.de Hi					\" History section
-.fi
-.SH HISTORY
-..
-.de Bu					\" Bugs section
-.fi
-.SH BUGS
-..
-.de En
-..
-.de ip
-.IP "\\$1" \\$2
-..
-.de Uh
-.ne 4
-.SS "\\$1"
-..
-.\" a useful -me macro
-.de re
-.ta 0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i
-..
diff --git a/man/vmh.man b/man/vmh.man
index c8145a98..73759911 100644
--- a/man/vmh.man
+++ b/man/vmh.man
@@ -2,9 +2,6 @@
 .\" %nmhwarning%
 .\" $Id$
 .\"
-.\" include the -mh macro file
-.so %etcdir%/tmac.h
-.\"
 .TH VMH %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
 .SH NAME
 vmh \- visual front-end to nmh
-- 
2.39.5