]> git.proxmox.com Git - pve-xtermjs.git/blame - debian/rules
buildsys: use full DEB_VERSION and correct DEB_HOST_ARCH
[pve-xtermjs.git] / debian / rules
CommitLineData
dcf3d43b
DC
1#!/usr/bin/make -f
2
ff095498
TL
3include /usr/share/dpkg/pkg-info.mk
4include /usr/share/rustc/architecture.mk
5
dcf3d43b 6%:
3e4311fe
DC
7 dh $@ --buildsystem cargo
8
9override_dh_auto_build:
10 dh_auto_build
ff095498
TL
11 sed -e 's/@VERSION@/$(DEB_VERSION)/' src/www/index.html.tpl.in > src/www/index.html.tpl
12 sed -e 's/@VERSION@/$(DEB_VERSION)/' src/www/index.html.hbs.in > src/www/index.html.hbs
4cd954f1 13 rm src/www/index.html.tpl.in src/www/index.html.hbs.in