[Git][debian-proftpd-team/proftpd][master] d/rules: remove clean code, which is covered by upstreams Makefile.

Hilmar Preuße gitlab at salsa.debian.org
Fri May 11 14:54:36 BST 2018


Hilmar Preuße pushed to branch master at Debian ProFTPD Team / proftpd


Commits:
f13cbac5 by Hilmar Preusse at 2018-05-11T15:53:40+02:00
d/rules: remove clean code, which is covered by upstreams Makefile.

- - - - -


3 changed files:

- debian/changelog
- debian/clean
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ proftpd-dfsg (1.3.6-3) UNRELEASED; urgency=medium
     (Closes: #608881)
   * New Proftp module package: proftpd-mod-snmp.
   * Add "Enhances: proftpd-basic" to all modules built by this package.
+  * d/rules: remove clean code, which is covered by upstreams Makefile.
 
  -- Francesco Paolo Lovergine <frankie at debian.org>  Tue, 01 May 2018 14:57:41 +0200
 


=====================================
debian/clean
=====================================
--- a/debian/clean
+++ b/debian/clean
@@ -13,6 +13,16 @@ contrib/mod_auth_otp/mod_auth_otp.h
 contrib/mod_auth_otp/t/Makefile
 contrib/mod_snmp/Makefile
 contrib/mod_snmp/mod_snmp.h
+contrib/mod_auth_otp/config.log
+contrib/mod_auth_otp/config.status
+contrib/mod_load/config.log
+contrib/mod_load/config.status
+contrib/mod_sftp/config.log
+contrib/mod_sftp/config.status
+contrib/mod_snmp/config.log
+contrib/mod_snmp/config.status
+contrib/mod_wrap2/config.log
+contrib/mod_wrap2/config.status
 src/ftpdctl.8
 src/proftpd.8
 src/proftpd.conf.5


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -93,21 +93,12 @@ configure-stamp:
 clean: debian/control debian/proftpd-substvars myclean
 myclean:
 	dh_testdir
-	#[ ! -f $(CURDIR)/Makefile ] || $(MAKE) distclean
 	dh_auto_clean
 	dh_clean
 	
 	# A few surplus files are removed using debian/clean
-	rm -f $$(find . -type l) $$(find . -name "*~" -o -name "*.o")
-	rm -f $(NAME) lib/*.a
-	rm -rf debian/$(PACKAGE) debian/$(NAME)-doc
-	rm -rf debian/files* debian/*.gz core
-	rm -f $$(find * -name "*.orig")
-	rm -rf $$(find $(CURDIR) -name .libs)
-	rm -f $$(find $(CURDIR) -name config.log )
-	rm -f $$(find $(CURDIR) -name config.status )
-	# clean up libtool files still around
-	find contrib -name "*.la" -exec rm -f {} \;
+	rm -f $$(find . -type l) $$(find . -name "*~" -o -name "*.orig")
+	rm -rf debian/*.gz core
 
 binary-indep: checkroot build
 	dh_installdirs -i



View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/commit/f13cbac531d68f07e0d6e8eb7d9310812d578950

---
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/commit/f13cbac531d68f07e0d6e8eb7d9310812d578950
You're receiving this email because of your account on salsa.debian.org.


More information about the Pkg-proftpd-maintainers mailing list