]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - Makefile
bump version to 1.0-20
[proxmox-widget-toolkit.git] / Makefile
index 54b1cac0d34f176a8cc2e804213e5b0619d3c9d5..587c1fbfc10d0b70874e54f3ff94303f2a84b2d4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=proxmox-widget-toolkit
 PKGVER=1.0
-PKGREL=3
+PKGREL=20
 
 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              \
@@ -45,6 +45,7 @@ JSSRC=                                        \
        node/NetworkEdit.js             \
        node/NetworkView.js             \
        node/DNSEdit.js                 \
+       node/HostsView.js               \
        node/DNSView.js                 \
        node/Tasks.js                   \
        node/ServiceView.js             \
@@ -54,7 +55,8 @@ JSSRC=                                        \
 all:
 
 .PHONY: deb
-deb ${DEB}:
+deb: ${DEB}
+${DEB}:
        rm -rf build
        rsync -a * build
        cd build; dpkg-buildpackage -b -us -uc
@@ -65,7 +67,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 +83,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