]>
Commit | Line | Data |
---|---|---|
1 | #!/usr/bin/make -f | |
2 | ||
3 | include /usr/share/dpkg/pkg-info.mk | |
4 | include /usr/share/rustc/architecture.mk | |
5 | ||
6 | %: | |
7 | dh $@ --buildsystem cargo | |
8 | ||
9 | override_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 |