X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2FMakefile.in;h=88c8c8409b5c052590e3b6f45f10fff4a43c0177;hp=78c26ecfcc3fe061072442de3740cad6eade6ea8;hb=78c6358d8c8c1ee74bf65c672d958e4eae17ee37;hpb=c6261bee75b36da2a558d40e804057a56f0ecbc0 diff --git a/man/Makefile.in b/man/Makefile.in index 78c26ec..88c8c84 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -50,18 +50,11 @@ 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. \ - forw. inc. mark. mh-chart. nmh. \ - mhbuild. mhl. mhlist. mhmail. \ + forw. inc. install-mh. mark. mh-chart. \ + nmh. mhbuild. mhl. mhlist. mhmail. \ mhn. mhparam. mhpath. mhshow. \ mhstore. msgchk. msh. \ next. packf. pick. prev. \ @@ -69,18 +62,21 @@ 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. \ mh-tailor. mts.conf. MAN8SRC = ap. conflict. dp. fmtdump. \ - install-mh. mh-mts. post. + mh-mts. post. + +MAN1 := $(MAN1SRC:.=.$(manext1)) +MAN5 := $(MAN5SRC:.=.$(manext5)) +MAN8 := $(MAN8SRC:.=.$(manext8)) -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) @@ -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' > $@ @@ -122,15 +115,18 @@ man.sed: Makefile echo ' s,%components%,,g' >> $@ echo '/%distcomps%/r $(top_srcdir)/etc/distcomps' >> $@ echo ' s,%distcomps%,,g' >> $@ + echo '/%forwcomps%/r $(top_srcdir)/etc/forwcomps' >> $@ + echo ' s,%forwcomps%,,g' >> $@ + echo '/%mhl_forward%/r $(top_srcdir)/etc/mhl.forward' >> $@ + echo ' s,%mhl_forward%,,g' >> $@ + echo '/%mhl_format%/r $(top_srcdir)/etc/mhl.format' >> $@ + echo ' s,%mhl_format%,,g' >> $@ + echo '/%mhl_reply%/r $(top_srcdir)/etc/mhl.reply' >> $@ + echo ' s,%mhl_reply%,,g' >> $@ # ========= 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: @@ -159,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: @@ -189,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