]> git.proxmox.com Git - pve-firewall.git/blobdiff - Makefile
bump version to 5.0.7
[pve-firewall.git] / Makefile
index aa2a9b2c8820a4e5670c7792245cb65f9b27ca60..e5d16341605cd32a0b9aa9ece3310db32fceedb1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,8 @@ DEBS=$(DEB) $(DEB2)
 all: $(DEBS)
 
 .PHONY: dinstall
-dinstall: deb
-       dpkg -i $(DEBS)
+dinstall: $(DEB)
+       dpkg -i $<
 
 $(BUILDDIR):
        rm -rf $(BUILDDIR)
@@ -25,17 +25,22 @@ $(BUILDDIR):
 .PHONY: deb
 deb: $(DEBS)
 $(DEB2): $(DEB)
-$(DEB): $(BUILDDIR) check
+$(DEB): $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
        lintian $(DEBS)
 
 .PHONY: dsc
-dsc: $(DSC)
+dsc:
+       rm -rf $(DSC) $(BUILDDIR)
+       $(MAKE) $(DSC)
+       lintian $(DSC)
+
 $(DSC): $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
-       lintian $(DSC)
 
-.PHONY: check
+sbuild: $(DSC)
+       sbuild $(DSC)
+
 check:
        make -C test check