This is an automated email from the git hooks/post-receive script.

ecc-guest pushed a commit to branch upstream
in repository approx.

commit 41902f463bbf31919d4ff0bcde012e3fe3681729
Author: Eric Cooper <e...@cmu.edu>
Date:   Fri Dec 6 17:20:42 2013 -0500

    create tarball using git-archive
---
 Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index cf8dc83..015a2f5 100644
--- a/Makefile
+++ b/Makefile
@@ -41,11 +41,8 @@ tests: $(subst .ml,,$(wildcard tests/*.ml))
        $(OCAMLBUILD) $(OCAMLBUILD_OPTS) $@.$(TARGET)
 
 version := $(shell sed -n 's/^let version = "\(.*\)"$$/\1/p' config.ml)
-tarball := approx_$(version).orig.tar.gz
 package := approx-$(version)
-excludes := $(tarball) .git _build "*~" "\#*"
+tarball := $(package).tar.gz
 
 tarball:
-       touch $(tarball)
-       tar -czf $(tarball) $(excludes:%=--exclude=%) \
-           --transform "s:^\.$$:$(package):;s:^\./:$(package)/:" .
+       git archive -o $(tarball) --prefix $(package)/ HEAD

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-ocaml-maint/packages/approx.git

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to