Skip to content

Commit

Permalink
Generate RELEASE with "make tar"
Browse files Browse the repository at this point in the history
  • Loading branch information
ssm committed Jun 8, 2012
1 parent 0fec198 commit a79c925
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Expand Up @@ -312,7 +312,12 @@ build/%.class: %.class
# DIST RULES # DIST RULES


tar: tar:
git archive --prefix=munin-$(RELEASE)/ --format tar.gz -9 --output ../munin-$(RELEASE).tar.gz HEAD git archive --prefix=munin-$(RELEASE)/ --format=tar --output ../munin-$(RELEASE).tar HEAD
mkdir -p munin-$(RELEASE)/
echo $(RELEASE) > munin-$(RELEASE)/RELEASE
tar rf ../munin-$(RELEASE).tar --owner=root --group=root munin-$(RELEASE)/RELEASE
rm -rf munin-$(RELEASE)
gzip -f -9 ../munin-$(RELEASE).tar


suse-pre: suse-pre:
(! grep MAINTAINER Makefile.config) (! grep MAINTAINER Makefile.config)
Expand Down

0 comments on commit a79c925

Please sign in to comment.