[findbugs] 04/07: install documentation from debian/rules

Tony Mancill tmancill at moszumanska.debian.org
Sun Jan 10 17:29:52 UTC 2016


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

tmancill pushed a commit to branch master
in repository findbugs.

commit f19b7e27eb50bc1307f8cc59268f976002f23bfc
Author: tony mancill <tmancill at debian.org>
Date:   Sun Jan 10 08:49:41 2016 -0800

    install documentation from debian/rules
    
    tweak clean target to prevent dangling files
---
 debian/rules | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index fef23c0..59885e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,13 +3,8 @@
 
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
-
 #JAVA_HOME = /usr/lib/jvm/default-java
 
-SHAREPACDIR=$(SHAREDIR)/$(BASE_NAME)
-
-
-
 %:
 	dh $@ --with maven_repo_helper
 
@@ -22,7 +17,8 @@ override_dh_auto_install:
 	mkdir -p $(CURDIR)/debian/findbugs/usr/bin
 
 	# install docs here
-	cp -R $(CURDIR)/doc/manual $(CURDIR)/doc/html
+	mkdir -p $(CURDIR)/debian/findbugs/usr/share/doc/findbugs
+	cp -Rv $(CURDIR)/build/doc/manual $(CURDIR)/debian/findbugs/usr/share/doc/findbugs/html
 
 	dh_install --sourcedir=$(CURDIR)
 	dh_link
@@ -45,7 +41,7 @@ override_dh_auto_clean:
 	rm -f $(CURDIR)/debian/findbugs.1 $(CURDIR)/debian/fb.1
 	rm -f lib/*.jar
 	rm -rf classesEclipse/
-	rm -f src/doc/allBugDescriptions.html src/doc/bugDescriptions.html
+	rm -f src/doc/allBugDescriptions.html src/doc/bugDescriptions.html src/doc/bugDescriptions_??.html
 	dh_auto_clean
 
 override_dh_auto_test:

-- 
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