X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=Makefile.in;h=058e7d8bbbba62d36cdba12b2227aabd696b2029;hp=eecef1b67322032b54916992732ef5fa92413311;hb=1e9a7f8082f2ea4b496827be6b9ebbc4ac145839;hpb=ff636cd27782f33f11ff8477b0dad4535d1ab9ab diff --git a/Makefile.in b/Makefile.in index eecef1b..058e7d8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,10 +1,8 @@ # -# Makefile for top level of nmh distribution -# -# $Id$ +# Makefile for top level of mmh distribution # -# nmh version +# mmh version VERSION = @VERSION@ SHELL = /bin/sh @@ -28,9 +26,12 @@ bindir = @bindir@ # 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 ... +datarootdir = @datarootdir@ + # location of man pages mandir = @mandir@ @@ -40,12 +41,6 @@ mailspool = @mailspool@ # location of mail transport agent sendmailpath = @sendmailpath@ -# default editor -default_editor = @editorpath@ - -# default pager -default_pager = @pagerpath@ - CC = @CC@ CPPFLAGS = @CPPFLAGS@ DEFS = @DEFS@ @OURDEFS@ @@ -60,8 +55,7 @@ MAKEDEFS = CC='$(CC)' CPPFLAGS='$(CPPFLAGS)' DEFS='$(DEFS)' \ CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \ prefix='$(prefix)' exec_prefix='$(exec_prefix)' bindir='$(bindir)' \ etcdir='$(etcdir)' libdir='$(libdir)' mandir='$(mandir)' \ -mailspool='$(mailspool)' sendmailpath='$(sendmailpath)' \ -default_editor='$(default_editor)' default_pager='$(default_pager)' +mailspool='$(mailspool)' sendmailpath='$(sendmailpath)' INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -70,13 +64,13 @@ INSTALL_DATA = @INSTALL_DATA@ .SUFFIXES: # all files in this directory included in the distribution -DIST = ChangeLog COPYRIGHT DATE INSTALL MACHINES README VERSION \ - ChangeLog install-sh mkinstalldirs Makefile.in aclocal.m4 \ - acconfig.h config.h.in configure.in configure stamp-h.in \ +DIST = COPYRIGHT DATE INSTALL README VERSION \ + autogen.sh install-sh Makefile.in aclocal.m4 \ + acconfig.h config.h.in configure.ac configure stamp-h.in \ config.sub config.guess # subdirectories in distribution -SUBDIRS = h config sbr mts uip etc man docs +SUBDIRS = h config sbr uip etc man docs # ========== DEPENDENCIES FOR BUILDING AND INSTALLING ========== @@ -108,6 +102,7 @@ superclean: superclean-recursive superclean-local mostlyclean-local: rm -f *~ + rm -rf autom4te.cache clean-local: mostlyclean-local @@ -140,7 +135,7 @@ Makefile: Makefile.in config.status config.status: configure VERSION ./config.status --recheck -configure: configure.in aclocal.m4 +configure: configure.ac aclocal.m4 cd $(srcdir) && autoconf config.h: stamp-h @@ -148,7 +143,7 @@ stamp-h: config.h.in config.status ./config.status config.h stamp config.h.in: stamp-h.in -stamp-h.in: configure.in acconfig.h aclocal.m4 +stamp-h.in: configure.ac acconfig.h aclocal.m4 cd $(srcdir) && autoheader date > $@ @@ -158,20 +153,17 @@ reset: 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 - -# 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) @@ -187,13 +179,4 @@ nmhdist: $(DIST) distname chmod -R a+r $(distdir) tar chf - $(distdir) | gzip -c > $(tarfile) rm -rf $(distdir) distname - @echo "Done building nmh-$(VERSION) distribution" - -# release a new nmh distribution into ftp directory -nmhrelease: - rm -f $(ftpdir)/$(tarfile) - rm -f $(ftpdir)/nmh.tar.gz - mv $(tarfile) $(ftpdir)/$(tarfile) - cd $(ftpdir) && ln -s $(tarfile) nmh.tar.gz - cd $(ftpdir) && md5sum *.gz > MD5SUM - + @echo "Done building mmh-$(VERSION) distribution"