mirror of
https://git.proxmox.com/git/pathpatterns
synced 2025-07-16 17:45:14 +00:00
buildsys: fix rebuild logic
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
13145f729d
commit
d7e1d50bfa
13
Makefile
13
Makefile
@ -18,7 +18,6 @@ check:
|
||||
dinstall: deb
|
||||
sudo -k dpkg -i build/librust-*.deb
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
rm -rf build
|
||||
rm debian/control
|
||||
@ -36,14 +35,18 @@ build:
|
||||
cp build/pathpatterns/debian/control debian/control
|
||||
|
||||
.PHONY: deb
|
||||
deb: build build/$(DEB)
|
||||
build/$(DEB): | build
|
||||
deb:
|
||||
rm -rf build
|
||||
$(MAKE) build/$(DEB)
|
||||
build/$(DEB): build
|
||||
(cd build/pathpatterns && CARGO=/usr/bin/cargo RUSTC=/usr/bin/rustc dpkg-buildpackage -b -uc -us)
|
||||
lintian build/*.deb
|
||||
|
||||
.PHONY: dsc
|
||||
dsc: build build/$(DSC)
|
||||
build/$(DSC): | build
|
||||
dsc:
|
||||
rm -rf build
|
||||
$(MAKE) build/$(DSC)
|
||||
build/$(DSC): build
|
||||
(cd build/pathpatterns && CARGO=/usr/bin/cargo RUSTC=/usr/bin/rustc dpkg-buildpackage -S -uc -us)
|
||||
lintian build/*.dsc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user