diff options
author | joey <joey> | 1999-08-17 04:12:54 +0000 |
---|---|---|
committer | joey <joey> | 1999-08-17 04:12:54 +0000 |
commit | 938b66ee19e113785e6655b1c3e73e9003e6464c (patch) | |
tree | d06bd22faa3da8940bec71ba2e34e2028b6e7764 /dh_clean | |
download | debhelper-938b66ee19e113785e6655b1c3e73e9003e6464c.tar.gz |
r1: Initial revision
Diffstat (limited to 'dh_clean')
-rwxr-xr-x | dh_clean | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dh_clean b/dh_clean new file mode 100755 index 00000000..da2c4b22 --- /dev/null +++ b/dh_clean @@ -0,0 +1,16 @@ +#!/bin/sh -e +# +# Clean up debian/tmp and other teporary files generated by the +# build process. + +PATH=debian:$PATH:/usr/lib/debhelper +source dh_lib + +doit "rm -rf debian/tmp" +doit "rm -f debian/substvars debian/*.substvars debian/files*" + +# Remove other temp files. I don't run this through doit becuase +# I haven't figured out what I have to esacape to put it in quotes. +# However, it doesn't modify debian/tmp, so I guess it's ok to not run it +# through doit. +find . \( -name "\#*\#" -o -name "*~" -o -name "DEADJOE" \) -exec rm -f {} \; |