summaryrefslogtreecommitdiffstats
path: root/debian/patches/0003-preserve-debian-dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0003-preserve-debian-dir.patch')
-rw-r--r--debian/patches/0003-preserve-debian-dir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/0003-preserve-debian-dir.patch b/debian/patches/0003-preserve-debian-dir.patch
new file mode 100644
index 00000000..27c193bb
--- /dev/null
+++ b/debian/patches/0003-preserve-debian-dir.patch
@@ -0,0 +1,16 @@
+Description: Prevent makefile from deleting debian/
+Author: Harlan Lieberman-Berg <hlieberman@debian.org>
+Forwarded: not-neededIndex: ansible/Makefile
+===================================================================
+--- a/Makefile
++++ b/Makefile
+@@ -154,9 +154,6 @@
+ rm -f test/units/.coverage*
+ rm -rf test/results/*/*
+ find test/ -type f -name '*.retry' -delete
+- @echo "Cleaning up Debian building stuff"
+- rm -rf debian
+- rm -rf deb-build
+ rm -rf docs/json
+ rm -rf docs/js
+ @echo "Cleaning up docsite"