diff options
author | joey <joey> | 1999-08-17 04:39:21 +0000 |
---|---|---|
committer | joey <joey> | 1999-08-17 04:39:21 +0000 |
commit | 918dbc752efd1d35a3ef667524062d4a0dcd3e3e (patch) | |
tree | 2ac6c6df0ba0b3f791386f53bb8a6602a03c15c3 /dh_clean | |
parent | 99b34ff691012e69828ea2167b7a3089ac4953f3 (diff) | |
download | debhelper-918dbc752efd1d35a3ef667524062d4a0dcd3e3e.tar.gz |
r38: Initial Import
Diffstat (limited to 'dh_clean')
-rwxr-xr-x | dh_clean | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -12,11 +12,15 @@ for PACKAGE in $DH_DOPACKAGES; do doit "rm -rf $TMP" doit "rm -f debian/${EXT}substvars" done -doit "rm -f debian/files* debian/*.debhelper $*" +doit "rm -f debian/*.debhelper $*" +if [ ! "$DH_K_FLAG" ]; then + doit "rm -f debian/files*" +fi # Remove other temp files. # Use complex_doit so we can properly escape things. -complex_doit "find . \( -name '#*#' -o -name '*~' -o -name DEADJOE -o -name '*.orig' \ - -o -name '*.rej' -o -name '*.bak' -o -name '.*.orig' \ - -o -name '.*.rej' -o -name .SUMS -o -name TAGS -o -name core \ +complex_doit "find . \( -name '#*#' -o -name '*~' -o -name DEADJOE \ + -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ + -o -name '.*.orig' -o -name '.*.rej' -o -name .SUMS \ + -o -name TAGS -o -name core \ \) -exec rm -f {} \;" |