diff options
-rw-r--r-- | .lastrel | 1 | ||||
-rw-r--r-- | .prerel | 1 | ||||
-rw-r--r-- | Makefile.private | 24 |
3 files changed, 26 insertions, 0 deletions
diff --git a/.lastrel b/.lastrel new file mode 100644 index 0000000..0b69c00 --- /dev/null +++ b/.lastrel @@ -0,0 +1 @@ +0.3.14 @@ -0,0 +1 @@ +2 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 |