X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2FMakefile.in;h=fe70265db5811b75bc387f26489fa0c80b1a716c;hp=909e91932701bbb69384ebd131f9dab75e220aaf;hb=fb49dd82ec42997b9df97f221c920f6596102c0a;hpb=f20a21e79470ba332827acd155809c3a524e184e diff --git a/man/Makefile.in b/man/Makefile.in index 909e919..fe70265 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -53,8 +53,8 @@ POPSED = @POPSED@ # 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,11 +69,11 @@ MAN5SRC = mh-alias. mh-draft. mh-format. \ mh-tailor. mts.conf. MAN8SRC = ap. conflict. dp. fmtdump. \ - install-mh. mh-mts. post. + 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. @@ -130,27 +130,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 +160,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 +197,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)