]> git.proxmox.com Git - novnc-pve.git/blobdiff - Makefile
bump version to 1.4.0-3
[novnc-pve.git] / Makefile
index fd707a7df8b6a23be963d97c40ca181e09cd1a20..431dff95abcac03242e9da0ba83be66997507ccd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ $(DEB): $(BUILDDIR)
        @echo $(DEB)
 
 $(ORIG_SRC_TAR): $(BUILDDIR)
-       tar czf $(ORIG_SRC_TAR) -C $(BUILDDIR) .
+       tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR)
 
 .PHONY: dsc
 dsc: $(DSC)
@@ -36,6 +36,9 @@ $(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -S -uc -us -d
        lintian $(DSC)
 
+sbuild: $(DSC)
+       sbuild $(DSC)
+
 .PHONY: submodule
 submodule:
        test -f "$(SRCDIR)/package.json" || git submodule update --init
@@ -54,7 +57,7 @@ distclean: clean
 
 .PHONY: clean
 clean:
-       rm -rf *~ debian/*~ *.deb $(BUILDDIR) *.changes *.dsc *.buildinfo $(PACKAGE)*.tar.gz
+       rm -rf $(PACKAGE)-[0-9]*/ $() *.deb *.dsc $(PACKAGE)*.tar.[gx]z *.changes *.dsc *.buildinfo *.build
 
 .PHONY: dinstall
 dinstall: deb