aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-05 00:14:52 +0000
committerhpa <hpa>2005-01-05 00:14:52 +0000
commit8f6acdd81ca317313aa4f8e0f9393cb2cd9f12b2 (patch)
treefbcfd9244d74d41846ee1703f8da6e6f8290ed62
parent6400f61025d3f60019a593200bb723abc0dd86cf (diff)
downloadsyslinux-elf-8f6acdd81ca317313aa4f8e0f9393cb2cd9f12b2.tar.gz
syslinux-elf-8f6acdd81ca317313aa4f8e0f9393cb2cd9f12b2.tar.xz
syslinux-elf-8f6acdd81ca317313aa4f8e0f9393cb2cd9f12b2.zip
Check for a release directory before tagging anything...syslinux-3.02-pre4
-rw-r--r--Makefile.private2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.private b/Makefile.private
index 52280961..2b253731 100644
--- a/Makefile.private
+++ b/Makefile.private
@@ -38,6 +38,7 @@ official:
$(MAKE) dist
release:
+ test -d release
$(CVS) tag -F `echo syslinux-$(VERSION) | sed -e 's/\./_/g'`
-rm -rf release/syslinux-$(VERSION)
-rm -f release/syslinux-$(VERSION).*
@@ -68,6 +69,7 @@ PREREL := syslinux-$(VERSION)-pre$(PRERELNO)
RPMPREREL := $(shell $(PERL) -e 'printf "%.2f.%d\n", $(VERSION)-0.01, $(PRERELNO);')
prerel:
+ test -d release
$(CVS) tag -F `echo $(PREREL) | sed -e 's/\./_/g'`
mkdir -p $(PRERELDIR) $(PRERELDIR)/uu
-rm -rf $(PRERELDIR)/$(PREREL)