X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=e116a60df51af8fde4c2c38e870b27abdde84f5d;hb=42a6e1207215787c6ed09930f668dbac3309a504;hp=8d8a96cf1449adf15e49cff0b4fde3b0eb6dd9f6;hpb=835b5d8e6abd014336eee41ed68b39871ee2d27c;p=proxmox-widget-toolkit.git diff --git a/Makefile b/Makefile index 8d8a96c..e116a60 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PACKAGE=proxmox-widget-toolkit PKGVER=1.0 -PKGREL=2 +PKGREL=9 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb @@ -16,24 +16,32 @@ 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 \ @@ -57,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 @@ -71,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