do not clean vendor directory on distclean
authorSascha Steinbiss <satta@debian.org>
Tue, 31 Jan 2023 13:34:17 +0000 (13:34 +0000)
committerSascha Steinbiss <satta@debian.org>
Tue, 31 Jan 2023 13:34:17 +0000 (13:34 +0000)
Last-Update: 2018-12-26

dh_auto_clean calls make distclean, which in the case of Suricata also
removes the vendor directory. This breaks repeated builds.

Gbp-Pq: Name fix-repeated-builds.patch

rust/Makefile.am

index afe9836e82de973a551d3c3da27f06755962b066..1a611aaa2035851b3e8f36f9dc9efc9322268164 100644 (file)
@@ -65,7 +65,7 @@ distclean-local:
        rm -f Cargo.lock
 
 maintainerclean-local:
-       rm -rf vendor gen
+       rm -rf gen
 
 check:
        CARGO_HOME="$(CARGO_HOME)" @rustup_home@ \