From 2ff5082a7409b0cf9af0e520e616d3a698a19d56 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sun, 22 Jul 2007 00:09:19 +0200 Subject: [PATCH] Makefile: add "make dist" for nightly snapshots --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 63142ca6..acf3ae42 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 -- 2.39.5