projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Report an error when the width used by putaddr is less than the label width.
[mmh]
/
man
/
Makefile.in
diff --git
a/man/Makefile.in
b/man/Makefile.in
index
b23fb6b
..
27c67cb
100644
(file)
--- a/
man/Makefile.in
+++ b/
man/Makefile.in
@@
-16,9
+16,11
@@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
etcdir = @sysconfdir@
bindir = @bindir@
libdir = @libdir@
etcdir = @sysconfdir@
+datarootdir = @datarootdir@
mandir = @mandir@
manext1 = 1
manext5 = 5
mandir = @mandir@
manext1 = 1
manext5 = 5
+manext7 = 7
manext8 = 8
mailspool = @mailspool@
manext8 = 8
mailspool = @mailspool@
@@
-31,54
+33,62
@@
SED = sed
SEDMAN = $(SED) -f man.sed $< > $@
.SUFFIXES:
SEDMAN = $(SED) -f man.sed $< > $@
.SUFFIXES:
-.SUFFIXES: .man .$(manext1) .$(manext5) .$(manext8)
+.SUFFIXES: .man1 .man5 .man7 .man8 \
+ .$(manext1) .$(manext5) .$(manext7) .$(manext8)
-.man.$(manext1):
+.man1.$(manext1):
$(SEDMAN)
$(SEDMAN)
-.man.$(manext5):
+.man5.$(manext5):
$(SEDMAN)
$(SEDMAN)
-.man.$(manext8):
+.man7.$(manext7):
+ $(SEDMAN)
+
+.man8.$(manext8):
$(SEDMAN)
# man pages to install in $(mandir)/$(manext1)
MAN1SRC = ali. anno. burst. comp. dist. flist. flists. folder. folders. \
$(SEDMAN)
# man pages to install in $(mandir)/$(manext1)
MAN1SRC = ali. anno. burst. comp. dist. flist. flists. folder. folders. \
- forw. inc. install-mh. mark. mh-chart. nmh. mhbuild. mhl. mhlist. \
+ forw. inc. mark. mh-chart. mhbuild. mhl. mhlist. mmh. \
mhmail. mhparam. mhpath. mhshow. mhstore. msgchk. new. fnext. \
fprev. unseen. next. packf. pick. prev. prompter. rcvdist. rcvpack. \
mhmail. mhparam. mhpath. mhshow. mhstore. msgchk. new. fnext. \
fprev. unseen. next. packf. pick. prev. prompter. rcvdist. rcvpack. \
- rcvstore. rcvtty. refile. repl. rmf. rmm. scan. send. sendfiles. \
+ rcvstore. refile. repl. rmf. rmm. scan. send. sendfiles. \
show. slocal. sortm. whatnow.
show. slocal. sortm. whatnow.
-MAN5SRC = mh-alias. mh-draft. mh-format. mh-mail. mh-profile. mh-sequence. \
- mh-tailor. mts.conf.
+MAN5SRC = mh-alias. mh-format. mh-mail. mh-profile. mh-tailor.
-MAN8SRC = ap. conflict. dp. fmtdump. post.
+MAN7SRC = mmh-intro. mh-draft. mh-sequence.
+
+MAN8SRC = ap. dp. fmtdump. post.
MAN1 = $(MAN1SRC:.=.$(manext1))
MAN5 = $(MAN5SRC:.=.$(manext5))
MAN1 = $(MAN1SRC:.=.$(manext1))
MAN5 = $(MAN5SRC:.=.$(manext5))
+MAN7 = $(MAN7SRC:.=.$(manext7))
MAN8 = $(MAN8SRC:.=.$(manext8))
# source for man pages
MAN8 = $(MAN8SRC:.=.$(manext8))
# source for man pages
-DIST_MANSRC = $(MAN1SRC) $(MAN5SRC) $(MAN8SRC)
-DIST_MAN = $(DIST_MANSRC:.=.man)
+DIST_MAN1 = $(MAN1SRC:.=.man1)
+DIST_MAN5 = $(MAN5SRC:.=.man5)
+DIST_MAN7 = $(MAN7SRC:.=.man7)
+DIST_MAN8 = $(MAN8SRC:.=.man8)
# auxiliary files
AUX = Makefile.in
# all files in this directory included in the distribution
# auxiliary files
AUX = Makefile.in
# all files in this directory included in the distribution
-DIST = $(DIST_MAN) $(AUX)
+DIST = $(DIST_MAN1) $(DIST_MAN5) $(DIST_MAN7) $(DIST_MAN8) $(AUX)
# ========= DEFAULT TARGET ==========
# ========= DEFAULT TARGET ==========
-all: $(MAN1) $(MAN5) $(MAN8)
+all: $(MAN1) $(MAN5) $(MAN7) $(MAN8)
-$(MAN1) $(MAN5) $(MAN8): man.sed
+$(MAN1) $(MAN5) $(MAN7) $(MAN8): man.sed
# create the sed file for building man pages
man.sed: Makefile
echo 's,%nmhwarning%,THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.,g' > $@
# create the sed file for building man pages
man.sed: Makefile
echo 's,%nmhwarning%,THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.,g' > $@
- echo 's,%nmhversion%,nmh-$(VERSION),g' >> $@
+ echo 's,%nmhversion%,mmh-$(VERSION),g' >> $@
echo 's,%nmhdate%,$(DATE),g' >> $@
echo 's,%bindir%,$(bindir),g' >> $@
echo 's,%etcdir%,$(etcdir),g' >> $@
echo 's,%nmhdate%,$(DATE),g' >> $@
echo 's,%bindir%,$(bindir),g' >> $@
echo 's,%etcdir%,$(etcdir),g' >> $@
@@
-88,6
+98,7
@@
man.sed: Makefile
echo 's,%sendmailpath%,$(sendmailpath),g' >> $@
echo 's,%manext1%,$(manext1),g' >> $@
echo 's,%manext5%,$(manext5),g' >> $@
echo 's,%sendmailpath%,$(sendmailpath),g' >> $@
echo 's,%manext1%,$(manext1),g' >> $@
echo 's,%manext5%,$(manext5),g' >> $@
+ echo 's,%manext7%,$(manext7),g' >> $@
echo 's,%manext8%,$(manext8),g' >> $@
echo '/%components%/r $(top_srcdir)/etc/components' >> $@
echo ' s,%components%,,g' >> $@
echo 's,%manext8%,$(manext8),g' >> $@
echo '/%components%/r $(top_srcdir)/etc/components' >> $@
echo ' s,%components%,,g' >> $@
@@
-104,36
+115,39
@@
man.sed: Makefile
# ========= INSTALL TARGETS =========
# ========= INSTALL TARGETS =========
-install: install-man1 install-man5 install-man8
+install: install-man1 install-man5 install-man7 install-man8
# install the man pages in man1
install-man1:
# install the man pages in man1
install-man1:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext1)
+ mkdir -p $(DESTDIR)$(mandir)/man$(manext1)
for file in $(MAN1); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext1) ; \
done
# install the man pages in man5
install-man5:
for file in $(MAN1); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext1) ; \
done
# install the man pages in man5
install-man5:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext5)
+ mkdir -p $(DESTDIR)$(mandir)/man$(manext5)
for file in $(MAN5); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext5) ; \
done
for file in $(MAN5); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext5) ; \
done
- 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 man7
+install-man7:
+ mkdir -p $(DESTDIR)$(mandir)/man$(manext7)
+ for file in $(MAN7); do \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext7) ; \
+ done
# install the man pages in man8
install-man8:
# install the man pages in man8
install-man8:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext8)
+ mkdir -p $(DESTDIR)$(mandir)/man$(manext8)
for file in $(MAN8); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext8) ; \
done
# ========= UNINSTALL TARGETS =========
for file in $(MAN8); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext8) ; \
done
# ========= UNINSTALL TARGETS =========
-uninstall: uninstall-man1 uninstall-man5 uninstall-man8
+uninstall: uninstall-man1 uninstall-man5 uninstall-man7 uninstall-man8
# uninstall the man pages in man1
uninstall-man1:
# uninstall the man pages in man1
uninstall-man1:
@@
-147,6
+161,12
@@
uninstall-man5:
rm -f $(DESTDIR)$(mandir)/man$(manext5)/$$file; \
done
rm -f $(DESTDIR)$(mandir)/man$(manext5)/$$file; \
done
+# uninstall the man pages in man7
+uninstall-man7:
+ for file in $(MAN7); do \
+ rm -f $(DESTDIR)$(mandir)/man$(manext7)/$$file; \
+ done
+
# uninstall the man pages in man8
uninstall-man8:
for file in $(MAN8); do \
# uninstall the man pages in man8
uninstall-man8:
for file in $(MAN8); do \
@@
-159,7
+179,7
@@
mostlyclean:
rm -f *~
clean: mostlyclean
rm -f *~
clean: mostlyclean
- rm -f man.sed *.$(manext1) *.$(manext5) *.$(manext8)
+ rm -f man.sed *.$(manext1) *.$(manext5) *.$(manext7) *.$(manext8)
distclean: clean
rm -f Makefile
distclean: clean
rm -f Makefile
@@
-178,7
+198,7
@@
Makefile: Makefile.in ../config.status
cd .. && ./config.status $(subdir)/$@
distdir = ../`cat ../distname`/$(subdir)
cd .. && ./config.status $(subdir)/$@
distdir = ../`cat ../distname`/$(subdir)
-nmhdist: $(DIST)
+mmhdist: $(DIST)
@echo "Copying distribution files in $(subdir)"
@for file in $(DIST); do \
cp -p $(srcdir)/$$file $(distdir); \
@echo "Copying distribution files in $(subdir)"
@for file in $(DIST); do \
cp -p $(srcdir)/$$file $(distdir); \