]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - Makefile
toolkit: remove PVE specific VType
[proxmox-widget-toolkit.git] / Makefile
index a6ef7859feb158dca03a5b9441c9c691c1ee6791..e116a60df51af8fde4c2c38e870b27abdde84f5d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,9 @@ lint: ${JSSRC}
        jslint ${JSSRC}
 
 proxmoxlib.js: ${JSSRC}
-       cat ${JSSRC} >$@.tmp
+       # add the version as comment in the file
+       echo "// ${PKGVER}-${PKGREL}" > $@.tmp
+       cat ${JSSRC} >> $@.tmp
        mv $@.tmp $@
 
 install: proxmoxlib.js
@@ -79,7 +81,7 @@ upload: ${DEB}
 distclean: clean
 
 clean:
-       rm -rf ./build *.deb *.changes *.buildinfo
+       rm -rf ./build *.deb *.changes *.buildinfo proxmoxlib.js
        find . -name '*~' -exec rm {} ';'
 
 .PHONY: dinstall