summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-11-01 21:40:40 +0100
committerRuben Undheim <ruben.undheim@gmail.com>2018-11-01 21:40:40 +0100
commit89162a231774fdfef7178ca8efdad19bee69d908 (patch)
tree3efbfe048fdb51337d0ea4cd1d835c8eea0921a6
parentf9f72ab69284c438b7131d0006a494696d131885 (diff)
Don't delete files which are in the source tree in dh_clean
-rw-r--r--debian/patches/0007-Don-t-delete-files-which-are-in-the-source-tree-in-d.patch29
-rw-r--r--debian/patches/series1
2 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/0007-Don-t-delete-files-which-are-in-the-source-tree-in-d.patch b/debian/patches/0007-Don-t-delete-files-which-are-in-the-source-tree-in-d.patch
new file mode 100644
index 0000000..a6178a6
--- /dev/null
+++ b/debian/patches/0007-Don-t-delete-files-which-are-in-the-source-tree-in-d.patch
@@ -0,0 +1,29 @@
+From: Ruben Undheim <ruben.undheim@gmail.com>
+Date: Thu, 1 Nov 2018 21:40:10 +0100
+Subject: Don't delete files which are in the source tree in dh_clean
+
+---
+ Makefile.am | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 3453db0..02b770e 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -290,13 +290,12 @@ dist:
+ xcircuit-$(FULL_VERSION)
+
+ quiteclean:
+- (cd ./Xw; $(RM) *.o *.a *.bak Makefile.in Makefile core)
+- (cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile.in Makefile)
++ (cd ./Xw; $(RM) *.o *.a *.bak Makefile core)
++ (cd ./spiceparser; $(MAKE) clean ; $(RM) Makefile)
+ $(RM) xcircuit *.o *.bak core
+ $(RM) lib/$(INTERP_PATH)/$(WRAPPER_OBJ) lib/$(INTERP_PATH)/$(WRAPPER_SH)
+ $(RM) menudep$(EXEEXT) menudep.h lib/xcircuit.1 xcircexec$(EXEEXT)
+- $(RM) install-sh missing mkinstalldirs Makefile.in Makefile
+- $(RM) config.* aclocal.m4
++ $(RM) install-sh missing mkinstalldirs Makefile
+
+ $(ALL_TARGET):
+ $(MAKE) tcl
diff --git a/debian/patches/series b/debian/patches/series
index 6f6dad5..dfeeaf8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
05_fix_string_format.patch
0005-Remove-asg.patch
0006-No-aclocal-and-automake-1.14.patch
+0007-Don-t-delete-files-which-are-in-the-source-tree-in-d.patch