]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - Makefile
bump version to 1.0-23
[proxmox-widget-toolkit.git] / Makefile
index e1f19dd4536702e37e2cc376a68178eb38293d90..d70836aebb73606b498d4923a31ad3e5a5b192aa 100644 (file)
--- 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