#
-# Makefile for top level of nmh distribution
+# Makefile for top level of mmh distribution
#
-# nmh version
+# mmh version
VERSION = @VERSION@
SHELL = /bin/sh
# location of support binaries and scripts
libdir = @libdir@
-# location of nmh configuration and formats files
+# location of mmh configuration and formats files
etcdir = @sysconfdir@
# location of man pages
cd $(srcdir) && autoconf
cd $(srcdir) && date > stamp-h.in
-# name of new nmh distribution tar file
-tarfile = nmh-$(VERSION).tar.gz
+# name of new mmh distribution tar file
+tarfile = mmh-$(VERSION).tar.gz
# ftp directory location
-ftpdir = /ftp/nmh
+ftpdir = /ftp/mmh
-# file containing name of new nmh distribution
+# file containing name of new mmh distribution
distname:
- @echo nmh-$(VERSION) > distname
+ @echo mmh-$(VERSION) > distname
-# build nmh distribution
+# build mmh distribution
distdir = `cat distname`
-nmhdist: $(DIST) distname
- @echo "Begin building nmh-$(VERSION) distribution"
+mmhdist: $(DIST) distname
+ @echo "Begin building mmh-$(VERSION) distribution"
rm -rf $(distdir)
mkdir $(distdir)
@chmod 755 $(distdir)
chmod -R a+r $(distdir)
tar chf - $(distdir) | gzip -c > $(tarfile)
rm -rf $(distdir) distname
- @echo "Done building nmh-$(VERSION) distribution"
+ @echo "Done building mmh-$(VERSION) distribution"
-# release a new nmh distribution into ftp directory
-nmhrelease:
+# release a new mmh distribution into ftp directory
+mmhrelease: $(tarfile)
rm -f $(ftpdir)/$(tarfile)
- rm -f $(ftpdir)/nmh.tar.gz
+ rm -f $(ftpdir)/mmh.tar.gz
mv $(tarfile) $(ftpdir)/$(tarfile)
- cd $(ftpdir) && ln -s $(tarfile) nmh.tar.gz
+ cd $(ftpdir) && ln -s $(tarfile) mmh.tar.gz
cd $(ftpdir) && md5sum *.gz > MD5SUM
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); \
cd .. && ./config.status $(subdir)/$@
distdir = ../`cat ../distname`/$(subdir)
-nmhdist:
+mmhdist:
@echo "Copying distribution files in $(subdir)"
@for file in $(DIST); do \
cp -p $(srcdir)/$$file $(distdir); \
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); \
# header files included in distribution
HDRS = addrsbr.h aliasbr.h crawl_folders.h dropsbr.h fmt_compile.h \
fmt_scan.h md5.h mf.h mh.h mhcachesbr.h mhparse.h mime.h \
- netdb.h nmh.h popsbr.h prototypes.h rcvmail.h \
+ nmh.h prototypes.h rcvmail.h \
scansbr.h signals.h tws.h utils.h
# auxiliary files
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); \
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); \
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); \
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); \