diff options
author | Tom Gundersen <teg@jklm.no> | 2011-04-21 23:17:27 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-04-21 23:17:27 +0200 |
commit | d674e2f73db8e2fcc47813bc7117d8a102ede4fa (patch) | |
tree | f9507135f6eec4b5f7e1cf67a6f33d4b6b6e2e19 /Makefile | |
parent | b4aa5db65539a0e4f3fb07dd486a59a296746c8f (diff) |
release: automate and document
Add a brief description of how to release initscripts. Also automate
the creation of the tarball using "make release".
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,10 @@ -minilogd: minilogd.o +VER:=$(shell sh -c 'git describe') + +minilogd: + minilogd.o clean: rm -f minilogd minilogd.o + +release: + git archive HEAD --prefix=initscripts-$(VER)/ | xz > initscripts-$(VER).tar.xz |