From: Richard Hughes Date: Sat, 21 Jul 2007 22:09:19 +0000 (+0200) Subject: Makefile: add "make dist" for nightly snapshots X-Git-Tag: 174~1883 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=2ff5082a7409b0cf9af0e520e616d3a698a19d56 Makefile: add "make dist" for nightly snapshots --- diff --git a/Makefile b/Makefile index 63142ca6b..acf3ae42a 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