X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=73b726cddd5825d1b48d10352da9f06b8594c459;hb=ea7fb2205f34c68fb1d4f80714bc7a1df69f8533;hp=0244963f5fe7720e42e4640bf3b782d05a6608c0;hpb=e58445b3a458adac3f881b69959a468ef273333a;p=proxmox-widget-toolkit.git diff --git a/Makefile b/Makefile index 0244963..73b726c 100644 --- 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