[gforth] / gforth / Makedist.in  

gforth: gforth/Makedist.in

Diff for /gforth/Makedist.in between version 1.28 and 1.29

version 1.28, Tue Jul 15 16:11:49 2008 UTC version 1.29, Tue Jul 15 21:54:43 2008 UTC
Line 23 
Line 23 
 #!! redundancy with engine/Makefile.in  #!! redundancy with engine/Makefile.in
 DOBJECTS=engine/*.o  DOBJECTS=engine/*.o
   
   PRECISE=kernel/version.fs kernl16b.fi kernl16l.fi kernl32b.fi kernl32l.fi kernl64b.fi kernl64l.fi
   
 #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) \
Line 30 
Line 32 
         engine/gforth$(EXE) engine/gforth-fast$(EXE) \          engine/gforth$(EXE) engine/gforth-fast$(EXE) \
         engine/gforth-ditc$(EXE) engine/gforth-itc$(EXE) \          engine/gforth-ditc$(EXE) engine/gforth-itc$(EXE) \
         $(addprefix engine/,$(PROFEXES)) \          $(addprefix engine/,$(PROFEXES)) \
         stamp-h kernel/version.fs build-ec INSTALL.BINDIST          stamp-h 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)
                   echo $(VERSION) > version
                   $(MAKE) $(PRECISE)
                 -$(RMTREE) gforth-$(VERSION)                  -$(RMTREE) gforth-$(VERSION)
                 mkdir gforth-$(VERSION)                  mkdir gforth-$(VERSION)
                 $(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) | \                  $(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) | \
Line 43 
Line 47 
   
 #use dist targets only when srcdir=.  #use dist targets only when srcdir=.
 ddosdist:       $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST)  ddosdist:       $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST)
                   echo $(VERSION) > version
                   $(MAKE) $(PRECISE)
                 -$(RMTREE) gforth.$(DOSVERSION)                  -$(RMTREE) gforth.$(DOSVERSION)
                 mkdir gforth.$(DOSVERSION)                  mkdir gforth.$(DOSVERSION)
                 $(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) | \                  $(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) | \
Line 57 
Line 63 
 #A source distribution contains only the things needed to install gforth,  #A source distribution contains only the things needed to install gforth,
 #without the documents.  #without the documents.
 dsrcdist:       $(SOURCES) $(FORTH_GEN0) @KERNEL@  dsrcdist:       $(SOURCES) $(FORTH_GEN0) @KERNEL@
                   echo $(VERSION) > version
                   $(MAKE) $(PRECISE)
                 -$(RMTREE) gforth-$(VERSION)                  -$(RMTREE) gforth-$(VERSION)
                 mkdir gforth-$(VERSION)                  mkdir gforth-$(VERSION)
                 $(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ | \                  $(TAR) $(SOURCES) $(FORTH_GEN0) @KERNEL@ | \
Line 65 
Line 73 
                 -$(RMTREE) gforth-$(VERSION)                  -$(RMTREE) gforth-$(VERSION)
   
 dsrconlydist:   $(SOURCES)  dsrconlydist:   $(SOURCES)
                   echo $(VERSION) > version
                 -$(RMTREE) gforth-$(VERSION)                  -$(RMTREE) gforth-$(VERSION)
                 mkdir gforth-$(VERSION)                  mkdir gforth-$(VERSION)
                 $(TAR) $(SOURCES) | \                  $(TAR) $(SOURCES) | \
Line 75 
Line 84 
 #A document distribution contains only the documents, which can be created  #A document distribution contains only the documents, which can be created
 #with MAKE.  #with MAKE.
 ddocdist:       $(DOCDIST)  ddocdist:       $(DOCDIST)
                   echo $(VERSION) > version
                   $(MAKE) $(PRECISE)
                 -$(RMTREE) gforth-$(VERSION)                  -$(RMTREE) gforth-$(VERSION)
                 mkdir gforth-$(VERSION)                  mkdir gforth-$(VERSION)
                 $(TAR) $(DOCDIST) | (cd gforth-$(VERSION); tar xf -)                  $(TAR) $(DOCDIST) | (cd gforth-$(VERSION); tar xf -)
Line 82 
Line 93 
                 -$(RMTREE) gforth-$(VERSION)                  -$(RMTREE) gforth-$(VERSION)
   
 dhtmldist:      html  dhtmldist:      html
                   echo $(VERSION) > version
                   $(MAKE) $(PRECISE)
                 $(TAR) html|gzip -9 >gforth-html-$(VERSION).tar.gz                  $(TAR) html|gzip -9 >gforth-html-$(VERSION).tar.gz
   
 #a binary distribution contains the complete source distribution,  #a binary distribution contains the complete source distribution,
 # the objects, the executable and the links. the objects are there for making  # the objects, the executable and the links. the objects are there for making
 # make happy.  # make happy.
 dbindist:       $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST)  dbindist:       $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST)
                   echo $(VERSION) > version
                   $(MAKE) $(PRECISE)
                 -$(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 -)
Line 96 
Line 111 
   
 #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 106 
Line 121 
 #then just has to unpack the source and his favourite binonly into the  #then just has to unpack the source and his favourite binonly into the
 #same directory and has a full binary distribution.  #same directory and has a full binary distribution.
 dbinonlydist:   $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST)  dbinonlydist:   $(SOURCES) $(FORTH_GEN0) @KERNEL@ $(DOCDIST) $(BINONLYDIST)
                   echo $(VERSION) > version
                   $(MAKE) $(PRECISE)
                 -$(RMTREE) gforth-$(VERSION)                  -$(RMTREE) gforth-$(VERSION)
                 mkdir gforth-$(VERSION)                  mkdir gforth-$(VERSION)
                 $(TAR) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -)                  $(TAR) $(BINONLYDIST) | (cd gforth-$(VERSION); tar xf -)


Generate output suitable for use with a patch program
Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help