Use dh_prep unstead of 'dh_clean -k'

This commit is contained in:
Jan Wagner 2010-03-29 02:06:50 +00:00
parent e2801bf7ef
commit e3c2de9367
2 changed files with 4 additions and 3 deletions

1
debian/changelog vendored
View file

@ -6,6 +6,7 @@ nagios-plugins (1.4.14-4) UNRELEASED; urgency=low
- Provide package specific documentation with the packages
- Provide symlinks from other packages
* Remove debian/TODO cause it't totally outdated
* Use dh_prep unstead of "dh_clean -k"
-- Jan Wagner <waja@cyconet.org> Wed, 24 Mar 2010 20:24:51 +0100

6
debian/rules vendored
View file

@ -121,7 +121,7 @@ clean: really-clean unpatch
really-clean:
dh_testdir
dh_testroot
rm -f build-stamp
rm -f build-stamp
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
@ -130,12 +130,12 @@ really-clean:
find -type d -name build -print0 | xargs -0 -r rm -rf \;
find \( -name config.sub -o -name config.guess \) -print0 | xargs -0 -r rm -f \;
-rm -f $(DEBIANDIR)/nagios-plugins-basic.postrm $(DEBIANDIR)/nagios-plugins-standard.postrm
dh_clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_prep
dh_installdirs
# Add here commands to install the package into debian/nagios-plugins.