summaryrefslogtreecommitdiff
path: root/dh_clean
AgeCommit message (Collapse)AuthorFilesLines
2017-07-03Set Emacs file variables directory-wideSven Joachim1-6/+0
Set the local variables for Emacs in the central placed intended for it, rather than in (currently) 95 individual files. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-28dh_clean: Use new glob_expand-enabled filearrayNiels Thykier1-2/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26Avoid fork+exec for rm -f and ln -s in non-deprecated toolsNiels Thykier1-3/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-04dh_{prep,clean}: Do more bulk removalsNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-04dh_clean: Bulk delete most files and dirsNiels Thykier1-6/+9
This cuts dh_clean runtime in half as measured in the debhelper source package with 1000 dummy packages added to d/control.
2017-02-19Dh_Lib: Provide deprecated_functionality helperNiels Thykier1-5/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-06-19dh_clean: Drop -k in compat 11Niels Thykier1-0/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-04-16d/compat files are now mandatoryNiels Thykier1-11/+0
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-01-10Dh_Lib: Add restore_file_on_cleanNiels Thykier1-2/+8
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-01-09dh+compat 10: Drop sequence ctrl and logsNiels Thykier1-0/+3
In compat 10, drop the manual sequence ctrl arguments and the debhelper sequence logs. Instead do a simple stamp file to skip the build part if already done. The primary advantage is that now the binary target can trivially be re-run, which makes debugging easier/faster. Closes: #510855 Signed-off-by: Niels Thykier <niels@thykier.net>
2015-11-17dh_clean: Work around for cdbs d/compat auto-vivificationNiels Thykier1-0/+11
cdbs has a feature where it will create debian/compat and set its contents to 5 if it does not exist (and DH_COMPAT does not exist). The issue being builds generally call "clean" before "build" and as such packages relying on this feature now FTBFS. As they were not listed as packages in danger (lintian considered them to have compat 5 or greater), we now instate this work around to cater for them. Signed-off-by: Niels Thykier <niels@thykier.net>
2015-11-17Fix typo in dh_cleanChris Leick1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-11-06dh_clean: Support removal of dirs when suffixed with a slashNiels Thykier1-7/+19
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-11-02Remove all compat(1) and compat(2) "guards"Niels Thykier1-4/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-10-24dh_clean: Preserve debian/.debhelper with -dNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-07-01Migrate to use warnings and use parentNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-02Add experimental .ddeb supportNiels Thykier1-0/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-01Add editor hints to the end of all perl modules and scriptsNiels Thykier1-0/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-10-03dh_clean: Skip over .git, .svn, .bzr, .hg, and CVS directories and avoid ↵Joey Hess1-1/+6
cleaning their contents. Closes: #760033 I don't much like debhelper needing to contain yet another copy of every bit of vcs cruft known to man; at least this only needs to be the directories and not other dotfiles.
2013-08-15dh_install, dh_installdocs, dh_clean: Fix uses of find -exec which cause it ↵Joey Hess1-2/+2
to ignore exit status of the commands run.
2013-06-10don't mention dhJoey Hess1-1/+1
2011-07-17Remove debhelper.log in compat level 1. Closes: #634155Joey Hess1-0/+3
2011-04-21dh_clean: Remove debhelper logs for all packages, including packages not ↵Joey Hess1-4/+5
being acted on. dh can sometimes produce such logs by accident when passed bundled options (like "-Nfoo" instead of "-N foo") that it does not understand; and it was not possible to fix that for any compat level before v8. But also, such logs can occur for other reasons, like interrupted builds during development, and it should be safe to clean them all. Closes: #623446
2010-11-02Apply manual pages conventionsDavid Prévot1-10/+10
As advised in man(1), always use: B<bold text> type exactly as shown. I<italic text> replace with appropriate argument. s/debian/Debian/ if needed. s/ / / also. s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.
2010-05-23Add deprecation warning for dh_clean -k.Joey Hess1-1/+1
2009-09-04Add FILES sections to man pages. Closes: #545041Joey Hess1-2/+10
2009-06-28minimal build system option documentationJoey Hess1-1/+1
2008-10-21Move many command-specific options to only be accepted by the command that ↵Joey Hess1-1/+3
uses them. Affected options are: -x, -r, -R, -l, -L, -m, --include-conffiles, --no-restart-on-upgrade, --no-start, --restart-after-upgrade, --init-script, --filename, --flavor, --autodest, --libpackage, --add-udeb, --dpkg-shlibdeps-params, --dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d, --dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing, --language, --until, --after, --before, --remaining, --with * If any third-party debhelper commands use any of the above options, they will be broken, and need to be changed to pass options to init(). * To avoid breaking rules files that pass options to commands that do not use them, debhelper will now only warn if it encounters an unknown option. This will be converted back to an error later.
2008-07-08dh_clean: Do not delete *-stamp files in -k mode in v7. Closes: #489918Joey Hess1-3/+2
2008-04-29add note about dh_clean being lastJoey Hess1-1/+4
2008-04-23dh_clean: In v7 mode, automatically delete *-stamp files.Joey Hess1-1/+5
2008-04-23dh_prep: New program, does the same as dh_clean -k (which will be deprecated ↵Joey Hess1-7/+8
later).
2008-04-23remove exitJoey Hess1-1/+1
2008-04-23updatesJoey Hess1-1/+5
2008-04-23do not clean debian/clean on -kJoey Hess1-13/+13
2008-04-23dh_clean: In v7 mode, read debian/clean and delete all files listed therein.Joey Hess1-0/+8
2008-04-23dh_auto_install: New program, automates running make install, or using ↵Joey Hess1-0/+3
setup.py to install. Supports the PREFIX=/usr special case needed by MakeMaker Makefiles. (Support for cmake and other build systems planned but not yet implemented.)
2008-04-22dh_clean: Don't delete core dumps. (Too DWIM, and "core" is not necessarily ↵Joey Hess1-2/+2
a core dump.) Closes: #477391
2007-10-07r2036: * dh_clean: append "/" to the temp dir name to avoid removing joeyh1-1/+1
a file with the same name. Closes: #445638
2005-11-08r1815: * dh_clean: Patch from Matej Vela to clean up autom4te.cache directoriesjoey1-7/+4
in subdiretories of the source tree and do it all in one enormous, evil, and fast find expression. Closes: #338193
2005-07-19r1772: releasing version 4.9.44.9.4joey1-10/+7
2003-08-19r1592: * dh_link: rm -f every time, ln -f is not good enough if the link ↵version_4.1.66joey1-1/+2
target is an existing directory (aka, ln sucks). Closes: #206245 * dh_clean: honor -X for debian/tmp removal. Closes: #199952 more or less.
2003-07-07r595: * dh_clean: Clean the *.debhelper temp files on a per-package basis, injoey1-12/+7
case dh_clean is run on one package at a time. * Removed the debian/substvars removal code entirely. It was only there to deal with half-built trees built with debhelper << 3.0.30
2003-07-04r593: * dh_clean: make -X work for debian/substvars file.joey1-1/+2
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-1/+1
* Typo, Closes: #183267
2002-05-22r524: * Make dh_clean remove autom4te.cache.joey1-0/+4
2002-03-17r514: * Fix to #99169 was accidentually reverted in 3.0.42; reinstated.joey1-0/+4
2002-02-17r510: * Thanks to Benjamin Drieu <benj@debian.org>, dh_installdocs -X now ↵joey1-3/+6
works. I had to modify his patch to use cp --parents, since -P spews warnings now. Also, I made it continue to use cp -a if nothing is excluded, which is both faster, and means this patch is less likely to break anything if it turns out to be buggy. Also, stylistic changes. Closes: #40649 * Implemented -X for dh_installexamples as well. * dh_clean -X substvars will also work now. Closes: #66890
2002-01-27r503: * dh_installman: more documentation about the .TH line. Closes: #129205joey1-1/+1
* dh_installxfonts: - Packages that use this should depend on xutils. See man page. - However, if you really want to, you can skip the dep, and the postinst will avoid running program that arn't available. Closes: #131053 - Use update-fonts-dir instead of handling encodings ourselves. Yay! - Pass only the last component of the directory name to update-fonts-*, since that's what they perfer now. - Other changes, chould fully comply with Debian X font policy now.
2001-11-18r496: * Man page cleanups, Closes: #119335joey1-1/+1