summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2009-06-02 15:43:26 -0500
committerDavid Teigland <teigland@redhat.com>2009-06-02 15:43:26 -0500
commit82747a02c788c18e52dbb598c0f70a253b417850 (patch)
tree627f9ce98666347fd74c0ad639dd75146c89fde1
parent077e659c19c66fcc9dbca61582d830ac29868c7b (diff)
downloaddct-stuff-82747a02c788c18e52dbb598c0f70a253b417850.tar.gz
dct-stuff-82747a02c788c18e52dbb598c0f70a253b417850.tar.xz
dct-stuff-82747a02c788c18e52dbb598c0f70a253b417850.zip
cpgx: makefile tarball stuff
Signed-off-by: David Teigland <teigland@redhat.com>
-rw-r--r--cpgx/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpgx/Makefile b/cpgx/Makefile
index e47bef7..94c3266 100644
--- a/cpgx/Makefile
+++ b/cpgx/Makefile
@@ -41,15 +41,14 @@ tarball := cpgx-$(VERSION).tar.gz
# to release tarball:
# edit VERSION with new number and without -git
# commit VERSION change
-# tag that VERSION commit, e.g. git tag -a cpgx-v1.0 -m "release 1.0"
-# make tarball
+# make tarball, sprm, rpm
# edit VERSION adding -git
-# VERSION change
+# commit VERSION change
# push
$(tarball): $(tarfiles)
-$(RM) $@
- git archive --format=tar --prefix=cpgx-$(VERSION)/ cpgx-v$(VERSION) | gzip > $@
+ git archive --format=tar --prefix=cpgx-$(VERSION)/ HEAD^{tree} | gzip > $@
tarball: $(tarball)