mirror of
git://git.proxmox.com/git/novnc-pve.git
synced 2025-01-07 21:17:58 +03:00
d87f9815e2
also drop the (since dh compat 10) implied --with quilt for that source format. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
22 lines
464 B
Makefile
Executable File
22 lines
464 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
include /usr/share/dpkg/pkg-info.mk
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
export DEB_BUILD_HARDENING=1
|
|
|
|
%:
|
|
dh ${@}
|
|
|
|
override_dh_auto_build:
|
|
esbuild --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_UPSTREAM_REVISION}/g" index.html.tpl
|
|
echo "{ \"version\": \"${DEB_VERSION_UPSTREAM_REVISION}\" }" >package.json
|
|
dh_install
|