]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - Makefile
add proxmoxlib to the clean target
[proxmox-widget-toolkit.git] / Makefile
index c1cbc3db4b9d7113fe5674966e109600aa1d5cc6..e116a60df51af8fde4c2c38e870b27abdde84f5d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=proxmox-widget-toolkit
 PKGVER=1.0
-PKGREL=5
+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             \
@@ -30,6 +29,7 @@ JSSRC=                                        \
        form/LanguageSelector.js        \
        form/ComboGrid.js               \
        form/RRDTypeSelector.js         \
+       form/BondModeSelector.js        \
        button/Button.js                \
        button/HelpButton.js            \
        grid/ObjectGrid.js              \
@@ -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