do not clean vendor directory on distclean
authorSascha Steinbiss <satta@debian.org>
Fri, 15 Sep 2023 19:18:47 +0000 (20:18 +0100)
committerSascha Steinbiss <satta@debian.org>
Fri, 15 Sep 2023 19:18:47 +0000 (20:18 +0100)
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 2857288fefa311fdaa895f418fee2eff5fe09565..a035257a7537577ec27b5c8a61d6f5c1e1c6fee5 100644 (file)
@@ -69,7 +69,7 @@ distclean-local:
        rm -f Cargo.lock
 
 maintainer-clean-local:
-       rm -rf vendor gen
+       rm -rf gen
 
 check:
        CARGO_HOME="$(CARGO_HOME)" @rustup_home@ \