]> git.proxmox.com Git - pmg-gui.git/blobdiff - Makefile
dashboard: increase height of node-info and top-receiver panel to 300
[pmg-gui.git] / Makefile
index 78fbbb9018e469d704ba475eeefb0cd1cbe4b17b..1783e4f27181548cc874fa763e2159e0cb3f7d44 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ $(BUILDDIR):
 dsc: $(DSC)
 
 $(DSC): $(BUILDDIR)
-       cd $(BUILDDIR); dpkg-buildpackage -S -us -uc
+       cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
        lintian $(DSC)
 
 sbuild: $(DSC)
@@ -64,8 +64,9 @@ install: pmg-index.html.tt pmg-mobile-index.html.tt js/pmgmanagerlib.js js/mobil
        for f in $(CSSFILES); do install -m 0644 "$$f" $(WWWCSSDIR); done
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist bullseye
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST)
 
 distclean: clean
        rm -f examples/simple-demo.pem
@@ -77,7 +78,7 @@ check:
 
 clean:
        make -C js clean
-       rm -rf $(PACKAGE)-[0-9]* *.dsc *.tar.* *.deb *.changes *.buildinfo *.build
+       rm -rf $(PACKAGE)-[0-9]*/ *.dsc $(PACKAGE)*.tar.* *.deb *.changes *.buildinfo *.build
        find . -name '*~' -exec rm {} ';'
 
 .PHONY: dinstall