]> git.proxmox.com Git - pmg-gui.git/blobdiff - Makefile
Makefile: use "--product pmg --dist stretch" for upload target
[pmg-gui.git] / Makefile
index 2aab89f10557670aa009f9e0bbe94e8c40501ee2..d059b781b959bc0da57ca584123608d24f4cb3a7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,18 +31,18 @@ deb ${DEB}:
 js/pmgmanagerlib.js:
        make -C js pmgmanagerlib.js
 
-install: index.html js/pmgmanagerlib.js
+install: index.html.tpl js/pmgmanagerlib.js
        install -d -m 755 ${WWWCSSDIR}
        install -d -m 755 ${WWWIMAGESDIR}
        install -d -m 755 ${WWWJSDIR}
-       install -m 0644 index.html ${WWWBASEDIR}
+       install -m 0644 index.html.tpl ${WWWBASEDIR}
        install -m 0644 js/pmgmanagerlib.js ${WWWJSDIR}
        for i in ${IMAGES}; do install -m 0644 images/$$i ${WWWIMAGESDIR}; done
        for i in ${CSSFILES}; do install -m 0644 css/$$i ${WWWCSSDIR}; done
 
 .PHONY: upload
 upload: ${DEB}
-       # fixme tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist stretch
 
 distclean: clean
        rm -f examples/simple-demo.pem