aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.private
diff options
context:
space:
mode:
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