5
0
mirror of git://git.proxmox.com/git/pve-firewall.git synced 2025-01-04 09:17:58 +03:00

buildsys: avoid that the dinstall target always triggers a rebuild

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2024-04-26 15:43:27 +02:00
parent 29b48c381d
commit e59c8fd1b5

View File

@ -14,8 +14,8 @@ DEBS=$(DEB) $(DEB2)
all: $(DEBS) all: $(DEBS)
.PHONY: dinstall .PHONY: dinstall
dinstall: deb dinstall: $(DEB)
dpkg -i $(DEBS) dpkg -i $<
$(BUILDDIR): $(BUILDDIR):
rm -rf $(BUILDDIR) rm -rf $(BUILDDIR)
@ -25,7 +25,7 @@ $(BUILDDIR):
.PHONY: deb .PHONY: deb
deb: $(DEBS) deb: $(DEBS)
$(DEB2): $(DEB) $(DEB2): $(DEB)
$(DEB): $(BUILDDIR) check $(DEB): $(BUILDDIR)
cd $(BUILDDIR); dpkg-buildpackage -b -us -uc cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
lintian $(DEBS) lintian $(DEBS)
@ -41,7 +41,6 @@ $(DSC): $(BUILDDIR)
sbuild: $(DSC) sbuild: $(DSC)
sbuild $(DSC) sbuild $(DSC)
.PHONY: check
check: check:
make -C test check make -C test check