]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - Makefile
remove gettext definition in Utils.js
[proxmox-widget-toolkit.git] / Makefile
index 0244963f5fe7720e42e4640bf3b782d05a6608c0..73b726cddd5825d1b48d10352da9f06b8594c459 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=proxmox-widget-toolkit
 PKGVER=1.0
-PKGREL=3
+PKGREL=12
 
 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             \
@@ -27,16 +26,18 @@ JSSRC=                                      \
        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/SelectFeature.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            \
@@ -53,7 +54,8 @@ JSSRC=                                        \
 all:
 
 .PHONY: deb
-deb ${DEB}:
+deb: ${DEB}
+${DEB}:
        rm -rf build
        rsync -a * build
        cd build; dpkg-buildpackage -b -us -uc
@@ -64,7 +66,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
@@ -78,7 +82,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