#!/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 {} \;