summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-repeated-builds.patch
blob: c389a602bee8fedbecc9fbaba679081728d8a8a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: do not clean vendor directory on distclean 
 dh_auto_clean calls make distclean, which in the case of Suricata also
 removes the vendor directory. This breaks repeated builds.
Author: Sascha Steinbiss <satta@debian.org>
Last-Update: 2018-12-26
--- a/rust/Makefile.am
+++ b/rust/Makefile.am
@@ -69,7 +69,7 @@
 	rm -f Cargo.lock
 
 maintainer-clean-local:
-	rm -rf vendor gen
+	rm -rf gen
 
 check:
 	CARGO_HOME="$(CARGO_HOME)" @rustup_home@ \