aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.private
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1997-10-06 21:39:57 +0000
committerH. Peter Anvin <hpa@zytor.com>1997-10-06 21:39:57 +0000
commitf1a85a8320f9fab4019c4e83bd59420fa45fa408 (patch)
tree17957ad206407bc9a9f7c3d53bafe5282ad6b2a4 /Makefile.private
parent3b7c3119b95b43f970c8784fcc946cdc44f9e56d (diff)
downloadautofs3-f1a85a8320f9fab4019c4e83bd59420fa45fa408.tar.gz
autofs3-f1a85a8320f9fab4019c4e83bd59420fa45fa408.tar.xz
autofs3-f1a85a8320f9fab4019c4e83bd59420fa45fa408.zip
Moved release stuff into separate directory
Diffstat (limited to 'Makefile.private')
-rw-r--r--Makefile.private32
1 files changed, 18 insertions, 14 deletions
diff --git a/Makefile.private b/Makefile.private
index 928a4ac..d4e97c9 100644
--- a/Makefile.private
+++ b/Makefile.private
@@ -4,21 +4,25 @@
# Nondistributed Makefile targets
#
-REPOSITORY = linux.kernel.org:autofs
+.PHONY: release newrelease
-upload: release
- scp autofs-$(RELEASE).tar.gz $(REPOSITORY)
+release:
+ $(MAKE) -C releases release
-LASTREL := $(shell cat .lastrel)
-PREREL := $(shell cat .prerel 2>/dev/null || echo 1)
+newrelease:
+ $(MAKE) -C releases newrelease
-patch: reldir
- -rm -rf autofs-$(RELEASE)-pre$(PREREL)*
- mv autofs-$(RELEASE) autofs-$(RELEASE)-pre$(PREREL)
- diff -urN autofs-$(LASTREL) autofs-$(RELEASE)-pre$(PREREL) > \
- autofs-$(RELEASE)-pre$(PREREL).patch || exit `expr $$? - 1`
- gzip -9 autofs-$(RELEASE)-pre$(PREREL).patch
+newminorrelease:
+ $(MAKE) -C releases newminorrelease
-prerel: patch
- scp autofs-$(RELEASE)-pre$(PREREL).patch.gz $(REPOSITORY)/testing
- expr $(PREREL) + 1 > .prerel
+newmajorrelease:
+ $(MAKE) -C releases newmajorrelease
+
+upload:
+ $(MAKE) -C releases upload
+
+patch:
+ $(MAKE) -C releases patch
+
+prerel:
+ $(MAKE) -C releases prerel