aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.private
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.private')
-rw-r--r--Makefile.private24
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile.private b/Makefile.private
new file mode 100644
index 0000000..928a4ac
--- /dev/null
+++ b/Makefile.private
@@ -0,0 +1,24 @@
+# -*- makefile -*-
+# $Id$
+#
+# Nondistributed Makefile targets
+#
+
+REPOSITORY = linux.kernel.org:autofs
+
+upload: release
+ scp autofs-$(RELEASE).tar.gz $(REPOSITORY)
+
+LASTREL := $(shell cat .lastrel)
+PREREL := $(shell cat .prerel 2>/dev/null || echo 1)
+
+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
+
+prerel: patch
+ scp autofs-$(RELEASE)-pre$(PREREL).patch.gz $(REPOSITORY)/testing
+ expr $(PREREL) + 1 > .prerel