mirror of
git://git.proxmox.com/git/novnc-pve.git
synced 2025-01-05 13:17:53 +03:00
4930b83280
when our version changes, we always want the user to have the new version Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
20 lines
416 B
Makefile
Executable File
20 lines
416 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
export DEB_BUILD_HARDENING=1
|
|
DEB_VERSION = $(shell dpkg-parsechangelog -SVersion)
|
|
|
|
override_dh_auto_build:
|
|
compile-modules convert -f bundle app/ui.js > app.js
|
|
dh_auto_build
|
|
|
|
override_dh_install:
|
|
cp vnc.html index.html.tpl
|
|
sed -i -re "s/\.(css|js)/\.\1?ver=${DEB_VERSION}/g" index.html.tpl
|
|
dh_install
|
|
|
|
%:
|
|
dh ${@} --with quilt
|