File: fix-repeated-builds.patch

package info (click to toggle)
suricata 1%3A7.0.10-1%2Bdeb13u2
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 83,948 kB
  • sloc: ansic: 334,796; python: 7,725; sh: 5,001; makefile: 2,075; perl: 867
file content (16 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (3)
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
@@ -77,7 +77,7 @@
 	rm -f Cargo.lock
 
 maintainer-clean-local:
-	rm -rf vendor gen
+	rm -rf gen
 
 check:
 	CARGO_HOME="$(CARGO_HOME)" @rustup_home@ \