[antlr3] 01/01: Exclude the build artifacts from the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jul 20 08:42:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository antlr3.
commit 092032081416dc3d11256cffa1b2a34c764c7785
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Mon Jul 20 10:42:05 2015 +0200
Exclude the build artifacts from the upstream tarball
---
debian/orig-tar.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 5d937d7..62a3a32 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -9,11 +9,13 @@ tar -xf $ORIG_TAR --strip-components=1 -C $DIR
pushd $DIR/runtime
shopt -s extglob
-#cd $DIR/runtime && rm -Rfv !(Java) && cd ../..
rm -Rfv !(Java)
popd
find $DIR -name ".*" -exec rm '{}' \;
rm -f $TAR
-XZ_OPT=--best tar -c -v -J -f $TAR $DIR
+XZ_OPT=--best tar -c -v -J -f $TAR \
+ --exclude 'runtime/Java/target' \
+ --exclude '*.jar' \
+ $DIR
rm -rf $DIR
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/antlr3.git
More information about the pkg-java-commits
mailing list