diff --git a/debian/changelog b/debian/changelog index 8e9cf2d..d132f5c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ * 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 @@ 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 @@ 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