]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - Makefile
bump version to 1.0-20
[proxmox-widget-toolkit.git] / Makefile
index 0b3ad30f8caeae241c85f24336075653bc83fad6..587c1fbfc10d0b70874e54f3ff94303f2a84b2d4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=proxmox-widget-toolkit
 PKGVER=1.0
-PKGREL=2
+PKGREL=20
 
 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
 
@@ -16,28 +16,36 @@ JSSRC=                                      \
        mixin/CBind.js                  \
        data/reader/JsonObject.js       \
        data/ProxmoxProxy.js            \
-       data/UpdateQueue.js             \
        data/UpdateStore.js             \
        data/DiffStore.js               \
        data/ObjectStore.js             \
+       data/RRDStore.js                \
        data/TimezoneStore.js           \
        form/IntegerField.js            \
        form/TextField.js               \
+       form/DateTimeField.js           \
        form/Checkbox.js                \
        form/KVComboBox.js              \
+       form/LanguageSelector.js        \
        form/ComboGrid.js               \
        form/RRDTypeSelector.js         \
+       form/BondModeSelector.js        \
        button/Button.js                \
+       button/HelpButton.js            \
        grid/ObjectGrid.js              \
        grid/PendingObjectGrid.js       \
        panel/InputPanel.js             \
        panel/LogView.js                \
+       panel/RRDChart.js               \
+       panel/GaugeWidget.js            \
        window/Edit.js                  \
        window/PasswordEdit.js          \
        window/TaskViewer.js            \
+       node/APT.js                     \
        node/NetworkEdit.js             \
        node/NetworkView.js             \
        node/DNSEdit.js                 \
+       node/HostsView.js               \
        node/DNSView.js                 \
        node/Tasks.js                   \
        node/ServiceView.js             \
@@ -47,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
@@ -58,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
@@ -72,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