mirror of
git://git.proxmox.com/git/novnc-pve.git
synced 2025-01-07 21:17:58 +03:00
1e63d71311
instead of using the babel-shim (which is not production-ready), create a bundle app.js file with node-es6-module-transpiler in the dh_auto_build step this way, we only need to ship 1 js file instead of many Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
18 lines
295 B
Makefile
Executable File
18 lines
295 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
export DEB_BUILD_HARDENING=1
|
|
|
|
override_dh_auto_build:
|
|
compile-modules convert -f bundle app/ui.js > app.js
|
|
dh_auto_build
|
|
|
|
override_dh_install:
|
|
cp vnc.html index.html.tpl
|
|
dh_install
|
|
|
|
%:
|
|
dh ${@} --with quilt
|