]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - Makefile
remove gettext definition in Utils.js
[proxmox-widget-toolkit.git] / Makefile
index 4c882228ebab9e70c177c42c66bb3f6fe28fda13..73b726cddd5825d1b48d10352da9f06b8594c459 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PACKAGE=proxmox-widget-toolkit
 PKGVER=1.0
-PKGREL=1
+PKGREL=12
 
 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
 
@@ -13,25 +13,35 @@ WWWBASEDIR=${DESTDIR}/usr/share/javascript/${PACKAGE}
 JSSRC=                                 \
        Utils.js                        \
        Toolkit.js                      \
+       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                 \
@@ -44,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
@@ -55,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
@@ -69,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