##
## Important note: the "cleanup" test should always be last
##
-TESTS = test/ali/test-ali \
+TESTS = test/ali/test-ali test/anno/test-anno \
test/bad-input/test-header \
test/burst/test-burst \
- test/comp/test-comp-format \
+ test/comp/test-comp-format test/dist/test-dist \
test/folder/test-create test/folder/test-packf \
test/folder/test-recurse test/folder/test-sortm \
test/folder/test-total \
test/format/test-myhost test/format/test-mymbox \
test/forw/test-forw-digest test/forw/test-forw-format \
test/inc/test-deb359167 test/inc/test-eom-align \
- test/inc/test-inc-scanout test/install-mh/test-install-mh \
- test/manpages/test-manpages \
+ test/inc/test-inc-scanout test/inc/test-msgchk \
+ test/install-mh/test-install-mh test/manpages/test-manpages \
test/mhbuild/test-forw test/mhbuild/test-utf8-body \
test/mhlist/test-mhlist test/mhmail/test-mhmail \
test/mhparam/test-mhparam test/mhpath/test-mhpath \
test/mhshow/test-subpart test/mhstore/test-mhstore \
test/new/test-basic \
test/pick/test-pick test/pick/test-stderr \
- test/post/test-post-basic test/post/test-post-multiple \
- test/post/test-post-bcc \
+ test/post/test-post-aliases test/post/test-post-basic \
+ test/post/test-post-multiple test/post/test-post-bcc \
test/post/test-post-dcc test/post/test-post-fcc \
test/post/test-post-multifrom test/post/test-post-envelope \
test/post/test-post-group test/post/test-mts test/post/test-messageid \
- test/prompter/test-prompter \
+ test/post/test-sendfiles test/prompter/test-prompter \
test/rcv/test-rcvdist test/rcv/test-rcvpack test/rcv/test-rcvstore \
- test/refile/test-refile \
+ test/rcv/test-rcvtty test/refile/test-refile \
test/repl/test-if-str test/repl/test-trailing-newline \
test/repl/test-multicomp test/repl/test-repl \
test/scan/test-scan test/scan/test-scan-multibyte \
##
## Stuff that should be cleaned via "make clean"
##
-CLEANFILES = config/version.c sbr/sigmsg.h etc/mts.conf etc/sendfiles \
+CLEANFILES = config/version.c sbr/sigmsg.h etc/mts.conf \
etc/mhn.defaults man/man.sed man/mh-chart.man $(man_MANS)
clean-local:
@rm -rf RPM a.out.dSYM uip/a.out.dSYM
etc/mhl.format etc/mhl.forward etc/mhl.headers \
etc/mhl.reply etc/rcvdistcomps etc/rcvdistcomps.outbox \
etc/replcomps etc/replgroupcomps etc/scan.MMDDYY \
- etc/scan.YYYYMMDD etc/scan.default etc/scan.mailx \
- etc/scan.nomime etc/scan.size etc/scan.time \
+ etc/scan.YYYYMMDD etc/scan.default etc/scan.highlighted \
+ etc/scan.mailx etc/scan.nomime etc/scan.size etc/scan.time \
etc/scan.timely etc/scan.unseen
##
## Files we need to include in the distribution which aren't found by
## Automake using the automatic rules
##
-EXTRA_DIST = config/version.sh sbr/sigmsg.awk etc/mts.conf.in etc/sendfiles.in \
- etc/mhn.defaults.sh $(MHNSEARCHPROG) DATE MACHINES \
+EXTRA_DIST = config/version.sh sbr/sigmsg.awk etc/mts.conf.in \
+ etc/mhn.defaults.sh etc/sendfiles $(MHNSEARCHPROG) DATE MACHINES \
docs/ChangeLog_MH-3_to_MH-6.6 \
docs/ChangeLog_MH-6.7.0_to_MH-6.8.4.html \
man/ali.man man/anno.man man/ap.man man/burst.man man/comp.man \
@rm -f $@
$(srcdir)/etc/mhn.defaults.sh $(MHNSEARCHPATH) $(MHNSEARCHPROG) > $@
-etc/sendfiles: $(srcdir)/etc/sendfiles.in Makefile
- @rm -f $@
- $(SED) -e 's,%libdir%,$(libdir),' < $(srcdir)/etc/sendfiles.in > $@
-
##
## Use configure to set up default LN, but through a make variable so
## that it can be overridden at install time.
man/man.sed: Makefile
@echo 's,%nmhwarning%,THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT.,g' > $@
@echo 's,%nmhversion%,nmh-$(VERSION),g' >> $@
- @echo 's,%nmhdate%,$(DATE),g' >> $@
@echo 's,%bindir%,$(bindir),g' >> $@
@echo 's,%etcdir%,$(sysconfdir),g' >> $@
@echo 's,%libdir%,$(libdir),g' >> $@
@echo ' s,%mhl_reply%,,g' >> $@
man/mh-chart.man:
- @$(srcdir)/man/mh-chart-gen.sh > $@
+ $(srcdir)/man/mh-chart-gen.sh > $@
.man.$(manext1):
- @$(SED) -f man/man.sed $< > $@
+ $(SED) -f man/man.sed $< > $@
.man.$(manext5):
- @$(SED) -f man/man.sed $< > $@
+ $(SED) -f man/man.sed $< > $@
.man.$(manext7):
- @$(SED) -f man/man.sed $< > $@
+ $(SED) -f man/man.sed $< > $@
.man.$(manext8):
- @$(SED) -f man/man.sed $< > $@
+ $(SED) -f man/man.sed $< > $@
+
+man: $(man_MANS)
+
+cleanman:
+ rm -f $(man_MANS)
+
+.PHONY: man cleanman
## Don't include commit hashes in ChangeLog.
ChangeLog: