X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=Makefile.in;h=83af4c2470b516c1536b1e2ea6396f15165fe60b;hp=a93ba70a5aed87f136772a2e98420b98c1c8aa98;hb=5faf465b84082afa8bb85ce6fe87ce6675749675;hpb=e9f7cdfaf76a410bc663735484bee44806f32894 diff --git a/Makefile.in b/Makefile.in index a93ba70..83af4c2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -69,8 +69,11 @@ DIST = COPYRIGHT DATE INSTALL README VERSION \ acconfig.h config.h.in configure.ac configure stamp-h.in \ config.sub config.guess +# these directories included in the distribution +DISTDIRS = docs test + # subdirectories in distribution -SUBDIRS = h config sbr uip etc man docs +SUBDIRS = h config sbr uip etc man # ========== DEPENDENCIES FOR BUILDING AND INSTALLING ========== @@ -102,6 +105,7 @@ superclean: superclean-recursive superclean-local mostlyclean-local: rm -f *~ + rm -rf autom4te.cache clean-local: mostlyclean-local @@ -155,9 +159,6 @@ reset: # 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 @@ -173,6 +174,10 @@ mmhdist: $(DIST) distname @for file in $(DIST); do \ cp -p $(srcdir)/$$file $(distdir); \ done + @echo "Copying distribution dirs in main directory" + @for dir in $(DISTDIRS); do \ + cp -rp $(srcdir)/$$dir $(distdir); \ + done @for subdir in $(SUBDIRS); do \ mkdir $(distdir)/$$subdir; \ chmod 755 $(distdir)/$$subdir; \ @@ -182,12 +187,3 @@ mmhdist: $(DIST) 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 -