[libsaxon-java] 16/33: fix build logic

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jun 19 12:26:39 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository libsaxon-java.

commit b736bae9d5a2e2b480d31a79ffd19e376f23eec9
Author: Torsten Werner <twerner at debian.org>
Date:   Sun Jan 24 17:37:43 2010 +0000

    fix build logic
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6953f07..91c7e40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,7 +36,7 @@ build-stamp: configure-stamp
 	# split off jdom classes, everything else into saxon.jar
 	(cd $(BUILD); $(JAVA_HOME)/bin/jar -cfM ../saxon.jar META-INF `find . -name \*.class | egrep -v $(JDOM)`; \
 	 $(JAVA_HOME)/bin/jar -cfM ../saxon-jdom.jar $(JDOM)/*.class )
-	(cd $(APIDOC) ; test -x /usr/bin/javadoc && javadoc -sourcepath ../../$(SOURCES) @../../debian/libsaxon-java-doc.javadoc)
+	(cd $(APIDOC) ; if [ -x /usr/bin/javadoc ]; then javadoc -sourcepath ../../$(SOURCES) @../../debian/libsaxon-java-doc.javadoc; fi)
 	touch build-stamp
 
 clean:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libsaxon-java.git



More information about the pkg-java-commits mailing list