X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=d70836aebb73606b498d4923a31ad3e5a5b192aa;hb=f90c941bc62d6c698e056df6f545c084fde3c38d;hp=e1f19dd4536702e37e2cc376a68178eb38293d90;hpb=4f0b8a1a72f9dbc7b53f17355384bd0b07e4e086;p=proxmox-widget-toolkit.git diff --git a/Makefile b/Makefile index e1f19dd..d70836a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PACKAGE=proxmox-widget-toolkit PKGVER=1.0 -PKGREL=8 +PKGREL=23 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb @@ -45,6 +45,7 @@ JSSRC= \ node/NetworkEdit.js \ node/NetworkView.js \ node/DNSEdit.js \ + node/HostsView.js \ node/DNSView.js \ node/Tasks.js \ node/ServiceView.js \ @@ -54,7 +55,8 @@ JSSRC= \ all: .PHONY: deb -deb ${DEB}: +deb: ${DEB} +${DEB}: rm -rf build rsync -a * build cd build; dpkg-buildpackage -b -us -uc @@ -65,7 +67,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 @@ -79,7 +83,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