]> git.proxmox.com Git - novnc-pve.git/blame - debian/rules
d/rules use dpkg make script helper for package version
[novnc-pve.git] / debian / rules
CommitLineData
0fbbbb73
DM
1#!/usr/bin/make -f
2
eb3e349c
TL
3include /usr/share/dpkg/pkg-info.mk
4
0fbbbb73
DM
5# Uncomment this to turn on verbose mode.
6#export DH_VERBOSE=1
7
8export DEB_BUILD_HARDENING=1
9
e7b1c1cf
TL
10%:
11 dh ${@} --with quilt
12
1e63d713
DC
13override_dh_auto_build:
14 compile-modules convert -f bundle app/ui.js > app.js
15 dh_auto_build
16
742d9e91
DC
17override_dh_install:
18 cp vnc.html index.html.tpl
eb3e349c 19 sed -i -re "s/\.(css|js)/\.\1?ver=${DEB_VERSION_UPSTREAM_REVISION}/g" index.html.tpl
742d9e91 20 dh_install