]>
Commit | Line | Data |
---|---|---|
0fbbbb73 DM |
1 | #!/usr/bin/make -f |
2 | ||
eb3e349c TL |
3 | include /usr/share/dpkg/pkg-info.mk |
4 | ||
0fbbbb73 DM |
5 | # Uncomment this to turn on verbose mode. |
6 | #export DH_VERBOSE=1 | |
7 | ||
8 | export DEB_BUILD_HARDENING=1 | |
9 | ||
e7b1c1cf | 10 | %: |
d87f9815 | 11 | dh ${@} |
e7b1c1cf | 12 | |
1e63d713 | 13 | override_dh_auto_build: |
bd98941d | 14 | esbuild --bundle app/ui.js > app.js |
1e63d713 DC |
15 | dh_auto_build |
16 | ||
742d9e91 DC |
17 | override_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 |
86b61b85 | 20 | echo "{ \"version\": \"${DEB_VERSION_UPSTREAM_REVISION}\" }" >package.json |
742d9e91 | 21 | dh_install |