# name of new mmh distribution tar file
tarfile = mmh-$(VERSION).tar.gz
-# ftp directory location
-ftpdir = /ftp/mmh
-
# file containing name of new mmh distribution
distname:
@echo mmh-$(VERSION) > distname
tar chf - $(distdir) | gzip -c > $(tarfile)
rm -rf $(distdir) distname
@echo "Done building mmh-$(VERSION) distribution"
-
-# release a new mmh distribution into ftp directory
-mmhrelease: $(tarfile)
- rm -f $(ftpdir)/$(tarfile)
- rm -f $(ftpdir)/mmh.tar.gz
- mv $(tarfile) $(ftpdir)/$(tarfile)
- cd $(ftpdir) && ln -s $(tarfile) mmh.tar.gz
- cd $(ftpdir) && md5sum *.gz > MD5SUM
-