build: also copy .cargo dir

to unbreak source package builds.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2023-01-23 11:42:43 +01:00
parent 332aa4de1e
commit 6cbec56a2c

View File

@ -27,7 +27,7 @@ build:
rm -rf $(BUILDDIR) $(BUILDDIR_TMP); mkdir $(BUILDDIR_TMP)
cp -a debian \
Cargo.toml src \
Makefile \
Makefile .cargo \
$(BUILDDIR_TMP)
rm -f $(BUILDDIR_TMP)/Cargo.lock
find $(BUILDDIR_TMP)/debian -name "*.hint" -delete