[findbugs] 12/18: debian/rules: Generate the man pages during the build phase

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Aug 10 17:55:48 UTC 2016


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

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

commit aa72aff001c5dda2c1af6741727ab06de7fd8e5f
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Aug 10 18:12:32 2016 +0200

    debian/rules: Generate the man pages during the build phase
---
 debian/changelog |  1 +
 debian/rules     | 14 ++++----------
 2 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8e9cf2d..d132f5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ findbugs (3.1.0~preview2-1) UNRELEASED; urgency=medium
   * Moved the annotations to the libfindbugs-annotations-java package
   * Depend on libasm-java (>= 5.0) instead of libasm4-java
   * Removed junit4 and jdepend from the runtime dependencies
+  * debian/rules: Generate the man pages during the build phase
   * debian/watch: Track the release tags on GitHub
   * Standards-Version updated to 3.9.8
   * Use secure Vcs-* URLs
diff --git a/debian/rules b/debian/rules
index cda1049..1132f54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,10 @@ export DH_VERBOSE=1
 override_dh_auto_build:
 	ant docs build -Dant.java.version=1.8
 
+	# prepare findbugs.1
+	help2man -h "-help"   -v "-version" -n "Static Java Code Analyzer" ./bin/fb       -o debian/fb.1
+	help2man -h "-textui" -v "-version" -n "Static Java Code Analyzer" ./bin/findbugs -o debian/findbugs.1
+
 override_dh_auto_install:
 	chmod -x $(CURDIR)/bin/findbugs.ico
 
@@ -23,16 +27,6 @@ override_dh_auto_install:
 	mh_installjar -plibfindbugs-annotations-java debian/poms/findbugs-annotations.pom \
 		--usj-name=findbugs-annotations -l lib/annotations.jar
 
-	# prepare findbugs.1
-	help2man -h "-help" -v "-version" \
-		-n "Static Java Code Analyzer" \
-		$(CURDIR)/debian/findbugs/usr/bin/fb \
-		-o $(CURDIR)/debian/fb.1
-	help2man -h "-textui" -v "-version" \
-		-n "Static Java Code Analyzer" \
-		$(CURDIR)/debian/findbugs/usr/bin/findbugs \
-		-o $(CURDIR)/debian/findbugs.1
-
 override_dh_auto_clean:
 	rm -f $(CURDIR)/debian/findbugs.1 $(CURDIR)/debian/fb.1
 	rm -f lib/*.jar

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



More information about the pkg-java-commits mailing list