]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_clean
r514: * Fix to #99169 was accidentually reverted in 3.0.42; reinstated.
[debhelper.git] / dh_clean
index 9583a55b02e04190681fd2a964c86c0cc764f2e0..d0af17d1d9a73532ea35ffcc06a61c86f86e7f57 100755 (executable)
--- a/dh_clean
+++ b/dh_clean
@@ -84,6 +84,10 @@ if (! $dh{D_FLAG}) {
        # wildcard them.
        complex_doit("rm -f debian/*.debhelper");
 
+       # Remove some files that were left around by older versions of
+       # debhelper.
+       doit("rm","-f","debian/substvars");
+       
        # See if some files that would normally be deleted are excluded.
        my $find_options='';
        if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {