do not clean vendor directory on distclean
authorSascha Steinbiss <satta@debian.org>
Fri, 11 Dec 2020 08:35:57 +0000 (08:35 +0000)
committerSascha Steinbiss <satta@debian.org>
Fri, 11 Dec 2020 08:35:57 +0000 (08:35 +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 9247012656bf4331605a785b06d7ad90494bbc29..bcf5fab07dd00254709a697b7337ab9c9257dacd 100644 (file)
@@ -61,7 +61,7 @@ distclean-local:
        rm -f Cargo.lock
 
 maintainerclean-local:
-       rm -rf vendor gen
+       rm -rf gen
 
 check:
        CARGO_HOME="$(CARGO_HOME)" @rustup_home@ \