[lucene2] 104/104: d/rules: Delete ./test/ during clean; Fix removing non-existing directories
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Wed Mar 23 16:27:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository lucene2.
commit cd5f6b8afa25b8d73c6811bb73fa4476c45f54df
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date: Thu Mar 24 00:12:35 2016 +0800
d/rules: Delete ./test/ during clean; Fix removing non-existing directories
---
debian/rules | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index dd150d4..9b2bf04 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,7 @@ clean::
# that are not regenerated properly
# Now done in build.xml target clean-javacc
#fgrep -Rl "Generated By:JavaCC:" $(CURDIR)/src/ $(CURDIR)/contrib/ | grep -v analysis/standard/ParseException.java\\\|precedence\\\|surround | xargs rm -f
+ rm -r -f test
install/liblucene2-java::
# Install the libraries into the liblucene2-java package
@@ -66,9 +67,9 @@ install/liblucene2-java-doc::
cp -r docs $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/
cp -r build/docs/* $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/docs/
# Remove empty directories
- rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/docs/skin/css
- rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/docs/skin/scripts
- rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/docs/skin/translations
+ # rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/docs/skin/css
+ # rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/docs/skin/scripts
+ # rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/docs/skin/translations
# Remove unused embedded prototype library
rm -f $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/docs/skin/prototype.js
install -d $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/demo
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene2.git
More information about the pkg-java-commits
mailing list