]> git.proxmox.com Git - pve-http-server.git/blobdiff - Makefile
Makefile: use "--product pve --dist jessie" for upload target
[pve-http-server.git] / Makefile
index 2b4c0b8f035554a081c145e2b7e83b811ed62bdf..fd79b7192c632483e6efe2c01395c7089a55aab5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=libpve-http-server-perl
 PKGVER=1.0
-PKGREL=1
+PKGREL=4
 
 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
 
@@ -31,7 +31,8 @@ JQSRC=jquery-${JQVER}.min.js
 all:
 
 .PHONY: deb
-deb ${DEB}:
+deb: ${DEB}
+${DEB}:
        rm -rf build
        rsync -a * build
        cd build; dpkg-buildpackage -b -us -uc
@@ -74,12 +75,13 @@ install: ${BTDATA}
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist jessie
 
 distclean: clean
+       rm -f examples/simple-demo.pem
 
 clean:
-       rm -rf ./build *.deb *.changes ${BTDIR}
+       rm -rf ./build *.deb *.changes ${BTDIR} examples/simple-demo.lck
        find . -name '*~' -exec rm {} ';'
 
 .PHONY: dinstall