[proftpd-mod-vroot] 01/01: Various changes to d/rules.

Hilmar Preuße hilmar-guest at moszumanska.debian.org
Tue Sep 27 22:36:51 UTC 2016


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

hilmar-guest pushed a commit to branch master
in repository proftpd-mod-vroot.

commit 578e7bdd58f3ac1d4780486122fe72452de46932
Author: Hilmar Preuße <hille42 at web.de>
Date:   Wed Sep 28 00:36:11 2016 +0200

    Various changes to d/rules.
---
 debian/changelog |  4 ++++
 debian/rules     | 13 +++----------
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2dae80a..7ba4a54 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,7 +8,11 @@ proftpd-mod-vroot (0.9.3-1) UNRELEASED; urgency=medium
     still unreleased.
   * d/watch: upstream moved to github (Closes: #732660)
   * Rebuild against latest proftpd (Closes: #715569)
+
+  [Hilmar Preuße]
   * d/control: Remove "DM-Upload-Allowed" field
+  * d/rules: add --without python-support to dh call
+  * d/rules: overhaul clean target to make it work
 
  -- Mahyuddin Susanto <udienz at ubuntu.com>  Fri, 20 Dec 2013 11:24:44 +0700
 
diff --git a/debian/rules b/debian/rules
index 3c139c8..f6806c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ MODULE_NAME=mod_vroot
 DEBNAME=proftpd-mod-vroot
 
 %:
-	dh $@
+	dh $@ --without python-support
 
 override_dh_auto_build:
 	DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -c $(MODULE_NAME).c
@@ -21,12 +21,5 @@ override_dh_gencontrol:
 	cat /usr/share/proftpd/proftpd-substvars >>$(CURDIR)/debian/$(DEBNAME).substvars
 	dh_gencontrol
 
-clean:
-	dh_clean
-	$(RM) $(MODULE_NAME).a *.o *.la *.lo
-	$(LIBTOOL) --mode=clean $(RM) "$(MODULE_NAME).o"
-	$(LIBTOOL) --mode=clean $(RM) `echo "$(MODULE_NAME).la" | sed 's/\.la$\/.lo/g'`
-	$(RM) -rf $(CURDIR)/debian/proftpd-mod-vroot $(CURDIR)/debian/*.log $(CURDIR)/debian/files $(CURDIR)/debian/$(DEBNAME).substvars
-
-distclean: clean
-	$(RM) -r .libs/ 
+override_dh_auto_clean:
+	DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -d $(MODULE_NAME).c
\ No newline at end of file

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



More information about the Pkg-proftpd-maintainers mailing list