Diff for /gforth/Makedist.in between versions 1.26 and 1.36

version 1.26, 2007/12/31 19:02:24 version 1.36, 2012/07/31 00:27:23
Line 1 Line 1
 #make dist targets (workaround for broken makes)  #make dist targets (workaround for broken makes)
 #use GNU make if your make does not grok this.  #use GNU make if your make does not grok this.
   
 #Copyright (C) 1995,1996,1997,1998,2000,2003,2006,2007 Free Software Foundation, Inc.  #Copyright (C) 1995,1996,1997,1998,2000,2003,2006,2007,2008,2010,2011 Free Software Foundation, Inc.
   
 #This file is part of Gforth.  #This file is part of Gforth.
   
Line 21 Line 21
 include Makefile  include Makefile
   
 #!! redundancy with engine/Makefile.in  #!! redundancy with engine/Makefile.in
 DOBJECTS=$(addprefix engine/,io.o signals.o support.o @LIBOBJS@ engine.o engine2.o main.o engine-fast.o engine-fast2.o main-fast.o engine-ditc.o main-ditc.o  engine-itc.o main-itc.o $(PROFOBJS))  DOBJECTS=engine/*.o
   
 #stuff in a binonly distribution   #stuff in a binonly distribution 
 BINONLYDIST = config.status Makefile Makedist \  BINONLYDIST = config.status Makefile Makedist \
         $(ENGINES) $(ENGINES_FAST) \          $(ENGINES) $(ENGINES_FAST) \
         $(DOBJECTS) engine/config.h engine/Makefile \          $(DOBJECTS) engine/config.h engine/Makefile \
         engine/gforth$(EXE) engine/gforth-fast$(EXE) \          $(wildcard engine/gforth*$(EXE)) \
         engine/gforth-ditc$(EXE) engine/gforth-itc$(EXE) \          stamp-h kernel/version.fs envos.fs build-ec INSTALL.BINDIST
         $(addprefix engine/,$(PROFEXES)) \  
         stamp-h kernel/version.fs build-ec INSTALL.BINDIST  
   
 #use dist targets only when srcdir=.  #use dist targets only when srcdir=.
 ddist:          $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST)  ddist:          $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST)
Line 91  dbindist: $(SOURCES) $(FORTH_GEN0) @KERN Line 89  dbindist: $(SOURCES) $(FORTH_GEN0) @KERN
                 -$(RMTREE) gforth-$(VERSION)                  -$(RMTREE) gforth-$(VERSION)
                 mkdir gforth-$(VERSION)                  mkdir gforth-$(VERSION)
                 $(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -)                  $(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -)
                 $(STRIP) gforth-$(VERSION){,/engine}/gforth{,-fast,-ditc,-itc}$(EXE)                  -$(STRIP) gforth-$(VERSION){,/engine}/gforth*$(EXE)
                 $(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).bin.@host@.tar.gz                  $(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).bin.@host@.tar.gz
   
 #All file names in a binary distribution  #All file names in a binary distribution
 distfiles:  distfiles:
                 @echo $(SOURCES) kernel/version.fs machpc.fs $(FORTH_GEN0) compat/strcomp.fs gforthmi @KERNEL@ $(DOCDIST) $(BINONLYDIST)                  @echo $(SOURCES) $(PRECISE) machpc.fs $(FORTH_GEN0) compat/strcomp.fs gforthmi @KERNEL@ $(DOCDIST) $(BINONLYDIST)
   
 #makes a package with only the stuff not present in the source  #makes a package with only the stuff not present in the source
 #package. For installation the source package is still needed!  #package. For installation the source package is still needed!
Line 111  dbinonlydist: $(SOURCES) $(FORTH_GEN0) @ Line 109  dbinonlydist: $(SOURCES) $(FORTH_GEN0) @
                 $(TAR) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -)                  $(TAR) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -)
                 $(STRIP) gforth-$(VERSION)/gforth$(EXE)                  $(STRIP) gforth-$(VERSION)/gforth$(EXE)
                 $(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).binonly.@host@.tar.gz                  $(TAR) gforth-$(VERSION)|gzip -9 >gforth-$(VERSION).binonly.@host@.tar.gz
   
   dsetup-debdist: $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST) debian.control
                   -rm -rf debian
                   mkdir debian
                   make package=$$PWD/debian install
   
   ddebdist:       dsetup-debdist
                   mkdir debian/DEBIAN
                   (cd debian; find . -name '*' -exec md5sum '{}' ';') >debian/DEBIAN/md5sums      
                   cp debian.control debian/DEBIAN/control
                   dpkg-deb --build debian
                   mv debian.deb gforth_$(VERSION)_@host_cpu@.deb
                   rm -rf md5sums debian

Removed from v.1.26  
changed lines
  Added in v.1.36


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>