summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRichard Hughes <hughsient@gmail.com>2007-07-22 00:09:19 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-07-22 00:09:19 +0200
commit2ff5082a7409b0cf9af0e520e616d3a698a19d56 (patch)
tree307b10f0154e4c46696011970d1fe3c746d43dce /Makefile
parent1ff1aa424baa05a0fd06deeb6609a11b289ecd65 (diff)
Makefile: add "make dist" for nightly snapshots
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 63142ca6b5..acf3ae42a3 100644
--- a/Makefile
+++ b/Makefile
@@ -346,6 +346,11 @@ release:
git-archive --format=tar --prefix=udev-$(VERSION)/ HEAD | bzip2 -9v > udev-$(VERSION).tar.bz2
.PHONY: release
+dist:
+ git-archive --format=tar --prefix=udev-$(VERSION)/ HEAD | gzip -9v > udev-$(VERSION).tar.gz
+ git-archive --format=tar --prefix=udev-$(VERSION)/ HEAD | bzip2 -9v > udev-$(VERSION).tar.bz2
+.PHONY: dist
+
patch:
git diff $(shell echo $$(($(VERSION) - 1))) HEAD > udev-git-HEAD.patch
.PHONY: patch