do not clean vendor directory on distclean
authorSascha Steinbiss <satta@debian.org>
Mon, 14 Oct 2024 08:48:09 +0000 (10:48 +0200)
committerSascha Steinbiss <satta@debian.org>
Mon, 14 Oct 2024 08:48:09 +0000 (10:48 +0200)
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 db3935af3a86519c01f1588bb5cb9e1c31f4acac..eb2a6c0323f75f38bdb886ef3bf42f8effe9d92e 100644 (file)
@@ -77,7 +77,7 @@ distclean-local:
        rm -f Cargo.lock
 
 maintainer-clean-local:
-       rm -rf vendor gen
+       rm -rf gen
 
 check:
        CARGO_HOME="$(CARGO_HOME)" @rustup_home@ \