X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=e116a60df51af8fde4c2c38e870b27abdde84f5d;hb=42a6e1207215787c6ed09930f668dbac3309a504;hp=bc42c39c28bfb1929a59cdd2fb2f6f20882f61a5;hpb=ff5351f775cb3877ff5e2d675ffdcd7cd9c93e4c;p=proxmox-widget-toolkit.git diff --git a/Makefile b/Makefile index bc42c39..e116a60 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PACKAGE=proxmox-widget-toolkit PKGVER=1.0 -PKGREL=7 +PKGREL=9 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb @@ -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