summaryrefslogtreecommitdiffstats
path: root/debian/patches/libgo-cleanfiles.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/libgo-cleanfiles.diff')
-rw-r--r--debian/patches/libgo-cleanfiles.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/libgo-cleanfiles.diff b/debian/patches/libgo-cleanfiles.diff
new file mode 100644
index 0000000..57fcf86
--- /dev/null
+++ b/debian/patches/libgo-cleanfiles.diff
@@ -0,0 +1,26 @@
+--- a/src/libgo/Makefile.am
++++ b/src/libgo/Makefile.am
+@@ -1364,7 +1364,9 @@ mostlyclean-local:
+ find . -name '*-testsum' -print | xargs rm -f
+ find . -name '*-testlog' -print | xargs rm -f
+
+-CLEANFILES = *.go *.c s-* libgo.sum libgo.log runtime.inc
++CLEANFILES = *.go *.c s-* libgo.sum libgo.log runtime.inc \
++ *.dep */*.dep */*/*.dep */*/*/*.dep */*/*.dep */*/*/*/*.dep \
++ */*/*/*/*/*.dep
+
+ clean-local:
+ find . -name '*.la' -print | xargs $(LIBTOOL) --mode=clean rm -f
+--- a/src/libgo/Makefile.in
++++ b/src/libgo/Makefile.in
+@@ -1205,7 +1205,9 @@ MOSTLYCLEANFILES = \
+ libcalls-list \
+ runtime.inc runtime.inc.tmp2 runtime.inc.tmp3 runtime.inc.raw
+
+-CLEANFILES = *.go *.c s-* libgo.sum libgo.log runtime.inc
++CLEANFILES = *.go *.c s-* libgo.sum libgo.log runtime.inc \
++ *.dep */*.dep */*/*.dep */*/*/*.dep */*/*.dep */*/*/*/*.dep \
++ */*/*/*/*/*.dep
+ MULTISRCTOP =
+ MULTIBUILDTOP =
+ MULTIDIRS =