version 1.33, 2011/11/16 01:25:58
|
version 1.37, 2012/12/31 15:25:17
|
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,2008,2010 Free Software Foundation, Inc. |
#Copyright (C) 1995,1996,1997,1998,2000,2003,2006,2007,2008,2010,2011,2012 Free Software Foundation, Inc. |
|
|
#This file is part of Gforth. |
#This file is part of Gforth. |
|
|
Line 109 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 |