PACKAGE=proxmox-widget-toolkit
PKGVER=1.0
-PKGREL=7
+PKGREL=13
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
mixin/CBind.js \
data/reader/JsonObject.js \
data/ProxmoxProxy.js \
- data/UpdateQueue.js \
data/UpdateStore.js \
data/DiffStore.js \
data/ObjectStore.js \
all:
.PHONY: deb
-deb ${DEB}:
+deb: ${DEB}
+${DEB}:
rm -rf build
rsync -a * build
cd build; dpkg-buildpackage -b -us -uc
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
distclean: clean
clean:
- rm -rf ./build *.deb *.changes *.buildinfo
+ rm -rf ./build *.deb *.changes *.buildinfo proxmoxlib.js
find . -name '*~' -exec rm {} ';'
.PHONY: dinstall