X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2FMakefile.in;h=c822d4a6329ef31295cf5472a957df38ef7a5b3e;hp=3b0fb65ab1efb8a5f84ec642f21655148b8eec61;hb=5d43a99db70c12a673028c7758c20cbe3e13ef5f;hpb=823e60ebef611a90dedab2beca8b9cab3b3644fc diff --git a/man/Makefile.in b/man/Makefile.in index 3b0fb65..c822d4a 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -1,8 +1,6 @@ # # Makefile for man subdirectory # -# $Id$ -# VERSION = @VERSION@ DATE = @DATE@ @@ -26,18 +24,12 @@ manext8 = 8 mailspool = @mailspool@ sendmailpath = @sendmailpath@ -default_editor = @editorpath@ -default_pager = @pagerpath@ - INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ SED = sed SEDMAN = $(SED) -f man.sed $< > $@ -# sed line for editing pop information in man pages -POPSED = @POPSED@ - .SUFFIXES: .SUFFIXES: .man .$(manext1) .$(manext5) .$(manext8) @@ -57,6 +49,7 @@ MAN1SRC = ali. anno. burst. comp. \ nmh. mhbuild. mhl. mhlist. mhmail. \ mhn. mhparam. mhpath. mhshow. \ mhstore. msgchk. msh. \ + new. fnext. fprev. unseen. \ next. packf. pick. prev. \ prompter. rcvdist. rcvpack. \ rcvstore. rcvtty. refile. \ @@ -69,7 +62,7 @@ MAN5SRC = mh-alias. mh-draft. mh-format. \ mh-tailor. mts.conf. MAN8SRC = ap. conflict. dp. fmtdump. \ - mh-mts. post. + post. MAN1 = $(MAN1SRC:.=.$(manext1)) MAN5 = $(MAN5SRC:.=.$(manext5)) @@ -105,12 +98,9 @@ man.sed: Makefile echo 's,%mandir%,$(mandir),g' >> $@ echo 's,%mailspool%,$(mailspool),g' >> $@ echo 's,%sendmailpath%,$(sendmailpath),g' >> $@ - echo 's,%default_editor%,$(default_editor),g' >> $@ - echo 's,%default_pager%,$(default_pager),g' >> $@ echo 's,%manext1%,$(manext1),g' >> $@ echo 's,%manext5%,$(manext5),g' >> $@ echo 's,%manext8%,$(manext8),g' >> $@ - echo '$(POPSED)' >> $@ echo '/%components%/r $(top_srcdir)/etc/components' >> $@ echo ' s,%components%,,g' >> $@ echo '/%distcomps%/r $(top_srcdir)/etc/distcomps' >> $@ @@ -130,27 +120,27 @@ install: install-man1 install-man5 install-man8 # install the man pages in man1 install-man1: - $(top_srcdir)/mkinstalldirs $(mandir)/man$(manext1) + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext1) for file in $(MAN1); do \ - $(INSTALL_DATA) $$file $(mandir)/man$(manext1) ; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext1) ; \ done # install the man pages in man5 install-man5: - $(top_srcdir)/mkinstalldirs $(mandir)/man$(manext5) + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext5) for file in $(MAN5); do \ - $(INSTALL_DATA) $$file $(mandir)/man$(manext5) ; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext5) ; \ done - if [ ! -f $(mandir)/man$(manext5)/mh_profile.$(manext5) ] ; then \ - ( cd $(mandir)/man$(manext5) ; ln mh-profile.$(manext5) \ + if [ ! -f $(DESTDIR)$(mandir)/man$(manext5)/mh_profile.$(manext5) ] ; then \ + ( cd $(DESTDIR)$(mandir)/man$(manext5) ; ln mh-profile.$(manext5) \ mh_profile.$(manext5) ) \ fi # install the man pages in man8 install-man8: - $(top_srcdir)/mkinstalldirs $(mandir)/man$(manext8) + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext8) for file in $(MAN8); do \ - $(INSTALL_DATA) $$file $(mandir)/man$(manext8) ; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext8) ; \ done # ========= UNINSTALL TARGETS ========= @@ -160,19 +150,19 @@ uninstall: uninstall-man1 uninstall-man5 uninstall-man8 # uninstall the man pages in man1 uninstall-man1: for file in $(MAN1); do \ - rm -f $(mandir)/man$(manext1)/$$file; \ + rm -f $(DESTDIR)$(mandir)/man$(manext1)/$$file; \ done # uninstall the man pages in man5 uninstall-man5: for file in $(MAN5); do \ - rm -f $(mandir)/man$(manext5)/$$file; \ + rm -f $(DESTDIR)$(mandir)/man$(manext5)/$$file; \ done # uninstall the man pages in man8 uninstall-man8: for file in $(MAN8); do \ - rm -f $(mandir)/man$(manext8)/$$file; \ + rm -f $(DESTDIR)$(mandir)/man$(manext8)/$$file; \ done # ========== DEPENDENCIES FOR CLEANUP ========== @@ -197,7 +187,7 @@ lint: subdir = man Makefile: Makefile.in ../config.status - cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status + cd .. && ./config.status $(subdir)/$@ distdir = ../`cat ../distname`/$(subdir) nmhdist: $(DIST)