Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Generate RELEASE with "make tar"

  • Loading branch information...
commit a79c925a0743fe0de5aabf9490deea449ee7c407 1 parent 0fec198
@ssm ssm authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 Makefile
View
7 Makefile
@@ -312,7 +312,12 @@ build/%.class: %.class
# DIST RULES
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:
(! grep MAINTAINER Makefile.config)
Please sign in to comment.
Something went wrong with that request. Please try again.