chiark / gitweb /
also remove the dpkgv3 patch stamp file
[topgit.git] / debian / tg2quilt.mk
index 671dc04a8b6f6c5d1b0a089405f5719ad4824aa5..70ad40288e163f7ff71ddbe9db02e9e4ca4de4a2 100644 (file)
@@ -124,6 +124,8 @@ else
        rm -f $(__TG_FILES)
        # remove the series file
        rm -f $(QUILT_PATCH_DIR)/series
+       # remove dpkg v3 file
+       rm -f $(QUILT_PATCH_DIR)/.dpkg-source-applied
        # try to remove directories
        find $(QUILT_PATCH_DIR) -depth -type d -empty -execdir rmdir {} +
        # fail if the directory could not be removed and still exists