[relaxngcc] 01/01: Get rid of the gen-stamp file.
Benjamin Drung
bdrung at moszumanska.debian.org
Thu Feb 27 09:51:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
bdrung pushed a commit to branch master
in repository relaxngcc.
commit 8a9e9ee472da0370a07ad48215f9dec1c921be09
Author: Benjamin Drung <benjamin.drung at profitbricks.com>
Date: Thu Feb 27 10:51:12 2014 +0100
Get rid of the gen-stamp file.
---
debian/rules | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/debian/rules b/debian/rules
index ecc2841..29e13db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,11 +19,8 @@ override_dh_auto_build:
-Dant.build.javac.target=1.5 \
jar
# copy regenerated files aside first
- if [ ! -e gen-stamp ]; then \
- touch gen-stamp; \
- cp -r src/relaxngcc/parser/state state-orig; \
- cp -r src/relaxngcc/datatype/parser parser-orig; \
- fi
+ test -d state-orig || cp -r src/relaxngcc/parser/state state-orig
+ test -d parser-orig || cp -r src/relaxngcc/datatype/parser parser-orig
dh_auto_build -- \
-Dant.build.javac.source=1.5 \
@@ -38,11 +35,8 @@ override_dh_auto_build:
override_dh_auto_clean:
dh_auto_clean
# move original files in place
- if [ -e gen-stamp ]; then \
- mv state-orig/* src/relaxngcc/parser/state; \
- mv parser-orig/* src/relaxngcc/datatype/parser; \
- rm -rf state-orig parser-orig gen-stamp; \
- fi
+ test ! -d state-orig || (mv state-orig/* src/relaxngcc/parser/state && rmdir state-orig)
+ test ! -d parser-orig || (mv parser-orig/* src/relaxngcc/datatype/parser && rmdir parser-orig)
get-orig-source:
wget http://prdownloads.sourceforge.net/relaxngcc/relaxngcc-$(ZVERSION).zip
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/relaxngcc.git
More information about the pkg-java-commits
mailing list