[proftpd-dfsg] 01/01: Some files in clean target are removed using debian/clean.
Hilmar Preuße
hilmar-guest at moszumanska.debian.org
Thu Dec 1 19:47:17 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-dfsg.
commit 3cb70c420f5af1e7ff6b42ed2a3605129b701309
Author: Hilmar Preuße <hille42 at web.de>
Date: Thu Dec 1 20:47:02 2016 +0100
Some files in clean target are removed using debian/clean.
---
debian/changelog | 1 +
debian/clean | 23 +++++++++++++++++++++++
debian/rules | 18 +++---------------
3 files changed, 27 insertions(+), 15 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4eecb6d..51f036c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,7 @@ proftpd-dfsg (1.3.5a-2) UNRELEASED; urgency=medium
- replace some install calls by entries in $package.install files
- remove "-l option" from dh_shlibdeps call
- install init script and defaults file using dh_installinit
+ - Some files in clean target are removed using debian/clean
[1] https://lists.debian.org/debian-devel-announce/2016/11/msg00001.html
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..4650eb5
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,23 @@
+debian/files.saved
+debian/files
+config.cache
+config.log
+ftpshut
+Make.rules
+modules/mod_ratio.c
+contrib/mod_wrap2/mod_wrap2.h
+contrib/mod_wrap2/Makefile
+contrib/mod_load/mod_load.h
+contrib/mod_load/Makefile
+contrib/mod_sftp/mod_sftp.h
+contrib/mod_sftp/Makefile
+src/ftpdctl.8
+src/proftpd.8
+src/proftpd.conf.5
+src/xferlog.5
+utils/ftpcount.1
+utils/ftpscrub.8
+utils/ftpshut.8
+utils/ftptop.1
+utils/ftpwho.1
+src/prxs
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index de69f8e..37d95fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -91,29 +91,17 @@ myclean:
dh_auto_clean
dh_clean
- rm -f debian/files.saved debian/files
+ # A few surplus files are removed using debian/clean
rm -f $$(find . -type l) $$(find . -name "*~" -o -name "*.o")
- rm -f $(NAME) config.cache config.log lib/*.a ftpshut Make.rules
+ rm -f $(NAME) lib/*.a
rm -rf debian/$(PACKAGE) debian/$(NAME)-doc
rm -rf debian/files* debian/*.gz core
- rm -f $$(find * -name "*.orig") modules/mod_ratio.c
+ 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 )
- rm -f contrib/mod_wrap2/mod_wrap2.h \
- contrib/mod_wrap2/Makefile \
- contrib/mod_load/mod_load.h \
- contrib/mod_load/Makefile \
- contrib/mod_sftp/mod_sftp.h \
- contrib/mod_sftp/Makefile
# clean up libtool files still around
find contrib -name "*.la" -exec rm -f {} \;
- # some manual page are generated during build:
- rm -f src/ftpdctl.8 src/proftpd.8 src/proftpd.conf.5 src/xferlog.5
- rm -f utils/ftpcount.1 utils/ftpscrub.8 utils/ftpshut.8 utils/ftptop.1
- rm -f utils/ftpwho.1
- # prxs is created from prxs.in
- rm -f src/prxs
binary-indep: checkroot build
dh_installdirs -i
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-proftpd/proftpd-dfsg.git
More information about the Pkg-proftpd-maintainers
mailing list