[Pkg-mongodb-maintainers] [pkg-mongodb] 09/394: generate list of manpages added more files to be deleted in cleanup (Python compiled) dh_clean -k is deprecated in favor to dh_prep

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 13:57:42 UTC 2016


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

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit 987cd73dd5e065cd70e8108acd1277a1a1833e47
Author: Antonin Kral <a.kral at bobek.cz>
Date:   Sun Jan 31 08:50:43 2010 +0100

    generate list of manpages
    added more files to be deleted in cleanup (Python compiled)
    dh_clean -k is deprecated in favor to dh_prep
---
 debian/rules | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
old mode 100644
new mode 100755
index c258723..968807d
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,7 @@ build-stamp: configure-stamp
         # Add here commands to compile the package.
 	scons 
         #docbook-to-man debian/mongodb.sgml > mongodb.1
+	ls debian/*.1 > debian/mongodb.manpages
 
 	touch $@
 
@@ -49,12 +50,15 @@ clean:
 	rm -rf tools/*.o
 	rm -rf shell/*.o
 	rm -rf .sconf_temp
-	dh_clean 
+	rm -f buildscripts/*.pyc 
+	rm -f *.pyc
+	rm -f buildinfo.cpp
+	dh_clean debian/files
 
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
+	dh_prep
 	dh_installdirs
 
 	scons --prefix=$(CURDIR)/debian/mongodb/usr install

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



More information about the Pkg-mongodb-maintainers mailing list