]> git.proxmox.com Git - pve-xtermjs.git/blame_incremental - debian/rules
buildsys: use full DEB_VERSION and correct DEB_HOST_ARCH
[pve-xtermjs.git] / debian / rules
... / ...
CommitLineData
1#!/usr/bin/make -f
2
3include /usr/share/dpkg/pkg-info.mk
4include /usr/share/rustc/architecture.mk
5
6%:
7 dh $@ --buildsystem cargo
8
9override_dh_auto_build:
10 dh_auto_build
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
13 rm src/www/index.html.tpl.in src/www/index.html.hbs.in