X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=e116a60df51af8fde4c2c38e870b27abdde84f5d;hb=5106364829c83582693dd2b7e07f896532c72888;hp=440eea1ecc01001fff2cc7b59d703807aa331161;hpb=03c29495f5d146964d20edc1e89cbb9be0b3c4c8;p=proxmox-widget-toolkit.git diff --git a/Makefile b/Makefile index 440eea1..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 @@ -16,7 +16,6 @@ JSSRC= \ mixin/CBind.js \ data/reader/JsonObject.js \ data/ProxmoxProxy.js \ - data/UpdateQueue.js \ data/UpdateStore.js \ data/DiffStore.js \ data/ObjectStore.js \ @@ -66,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 @@ -80,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