debian/rules: Generate the man pages during the build phase
Emmanuel Bourg
7 years ago
7 | 7 |
* Moved the annotations to the libfindbugs-annotations-java package
|
8 | 8 |
* Depend on libasm-java (>= 5.0) instead of libasm4-java
|
9 | 9 |
* Removed junit4 and jdepend from the runtime dependencies
|
|
10 |
* debian/rules: Generate the man pages during the build phase
|
10 | 11 |
* debian/watch: Track the release tags on GitHub
|
11 | 12 |
* Standards-Version updated to 3.9.8
|
12 | 13 |
* Use secure Vcs-* URLs
|
10 | 10 |
override_dh_auto_build:
|
11 | 11 |
ant docs build -Dant.java.version=1.8
|
12 | 12 |
|
|
13 |
# prepare findbugs.1
|
|
14 |
help2man -h "-help" -v "-version" -n "Static Java Code Analyzer" ./bin/fb -o debian/fb.1
|
|
15 |
help2man -h "-textui" -v "-version" -n "Static Java Code Analyzer" ./bin/findbugs -o debian/findbugs.1
|
|
16 |
|
13 | 17 |
override_dh_auto_install:
|
14 | 18 |
chmod -x $(CURDIR)/bin/findbugs.ico
|
15 | 19 |
|
|
22 | 26 |
mh_installjar -plibfindbugs-annotations-java debian/poms/findbugs-annotations.pom \
|
23 | 27 |
--usj-name=findbugs-annotations -l lib/annotations.jar
|
24 | 28 |
|
25 | |
# prepare findbugs.1
|
26 | |
help2man -h "-help" -v "-version" \
|
27 | |
-n "Static Java Code Analyzer" \
|
28 | |
$(CURDIR)/debian/findbugs/usr/bin/fb \
|
29 | |
-o $(CURDIR)/debian/fb.1
|
30 | |
help2man -h "-textui" -v "-version" \
|
31 | |
-n "Static Java Code Analyzer" \
|
32 | |
$(CURDIR)/debian/findbugs/usr/bin/findbugs \
|
33 | |
-o $(CURDIR)/debian/findbugs.1
|
34 | |
|
35 | 29 |
override_dh_auto_clean:
|
36 | 30 |
rm -f $(CURDIR)/debian/findbugs.1 $(CURDIR)/debian/fb.1
|
37 | 31 |
rm -f lib/*.jar
|