aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.private
diff options
context:
space:
mode:
authorhpa <hpa>2003-04-14 22:45:40 +0000
committerhpa <hpa>2003-04-14 22:45:40 +0000
commitfdcb79587fd8133d757ea9bd46de9b211f6bec12 (patch)
tree49d59aed89f99bb68cb773a7b56fbe3c97097bc2 /Makefile.private
parent6d306e65c4900e19f4cd0edac89747a8b4844c7e (diff)
downloadsyslinux.git-fdcb79587fd8133d757ea9bd46de9b211f6bec12.tar.gz
syslinux.git-fdcb79587fd8133d757ea9bd46de9b211f6bec12.tar.xz
syslinux.git-fdcb79587fd8133d757ea9bd46de9b211f6bec12.zip
Use cvs export to make sure that we actually have checked in all changes;
make prerel and release as similar as possible
Diffstat (limited to 'Makefile.private')
-rw-r--r--Makefile.private27
1 files changed, 13 insertions, 14 deletions
diff --git a/Makefile.private b/Makefile.private
index 359e4c60..d4e23305 100644
--- a/Makefile.private
+++ b/Makefile.private
@@ -18,6 +18,8 @@
#
.PHONY: official release
+CVS = cvs -d hpa@terminus.zytor.com:/home/hpa/cvsroot
+
PRIVATE = Makefile.private .depend memdisk/.depend com32/lib
isolinux.iso: all
@@ -36,19 +38,17 @@ official:
$(MAKE) dist
release:
- cvs tag -F `echo syslinux-$(VERSION) | sed -e 's/\./_/g'`
+ $(CVS) tag -F `echo syslinux-$(VERSION) | sed -e 's/\./_/g'`
-rm -rf release/syslinux-$(VERSION)
-rm -f release/syslinux-$(VERSION).*
mkdir -p release/syslinux-$(VERSION)
- cp -dR $(SOURCES) $(DOCS) $(OTHER) release/syslinux-$(VERSION)
- find release/syslinux-$(VERSION) -name CVS -type d -print0 | \
- xargs -0rt rm -rf
+ cd release && $(CVS) export -r `echo syslinux-$(VERSION) | sed -e 's/\./_/g'` -d syslinux-$(VERSION) syslinux
find release/syslinux-$(VERSION) \
\( -name '*~' -or -name '#*' \) -type f -print0 | \
xargs -0rt rm -f
- cp -a $(PRIVATE) release/syslinux-$(VERSION)
- cd release/syslinux-$(VERSION) && $(MAKE) depend
- cd release/syslinux-$(VERSION) && $(MAKE) official
+ $(MAKE) -C release/syslinux-$(VERSION) spotless
+ $(MAKE) -C release/syslinux-$(VERSION) depend
+ $(MAKE) -C release/syslinux-$(VERSION) official
cd release/syslinux-$(VERSION) && rm -rf $(PRIVATE)
cd release && tar cvvf - syslinux-$(VERSION) | \
gzip -9 > syslinux-$(VERSION).tar.gz
@@ -61,20 +61,19 @@ PRERELNO := $(shell cat $(PRERELDIR)/.prerel 2>/dev/null || echo 1)
PREREL := syslinux-$(VERSION)-pre$(PRERELNO)
prerel:
- cvs tag -F `echo $(PREREL) | sed -e 's/\./_/g'`
+ $(CVS) tag -F `echo $(PREREL) | sed -e 's/\./_/g'`
mkdir -p $(PRERELDIR) $(PRERELDIR)/uu
-rm -rf $(PRERELDIR)/$(PREREL)
-rm -f $(PRERELDIR)/$(PREREL).*
mkdir -p $(PRERELDIR)/$(PREREL)
- cp -dR $(SOURCES) $(DOCS) $(OTHER) $(PRERELDIR)/$(PREREL)
- find $(PRERELDIR)/$(PREREL) -name CVS -type d -print0 | \
- xargs -0rt rm -rf
+ cd $(PRERELDIR) && $(CVS) export -r `echo $(PREREL) | sed -e 's/\./_/g'` -d $(PREREL) syslinux
find $(PRERELDIR)/$(PREREL) \
\( -name '*~' -or -name '#*' \) -type f -print0 | \
xargs -0rt rm -f
- make -C $(PRERELDIR)/$(PREREL) spotless
- make -C $(PRERELDIR)/$(PREREL) all DATE=`printf '%s-pre%d ' $(VERSION) $(PRERELNO) | dd bs=10 count=1 2>/dev/null`
- make -C $(PRERELDIR)/$(PREREL) dist
+ $(MAKE) -C $(PRERELDIR)/$(PREREL) spotless
+ $(MAKE) -C $(PRERELDIR)/$(PREREL) depend
+ $(MAKE) -C $(PRERELDIR)/$(PREREL) all DATE=`printf '%s-pre%d ' $(VERSION) $(PRERELNO) | dd bs=10 count=1 2>/dev/null`
+ $(MAKE) -C $(PRERELDIR)/$(PREREL) dist
cd $(PRERELDIR)/$(PREREL) && rm -rf $(PRIVATE)
cd $(PRERELDIR) && tar cvvf - $(PREREL) | \
gzip -9 > $(PREREL).tar.gz