www: build proxmox-backup-gui.js into the js/ subdir
The server expects an images/ subdir and a js/ subdir, so we should also compile our files using the same structure. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
8e4df103dd
commit
9fa03fa2d3
2
debian/install
vendored
2
debian/install
vendored
@ -5,4 +5,4 @@ target/release/proxmox-backup-client /usr/sbin
|
|||||||
target/release/catar /usr/sbin
|
target/release/catar /usr/sbin
|
||||||
www/images/logo-128.png /usr/share/javascript/proxmox-backup/images/
|
www/images/logo-128.png /usr/share/javascript/proxmox-backup/images/
|
||||||
www/images/proxmox_logo.png /usr/share/javascript/proxmox-backup/images/
|
www/images/proxmox_logo.png /usr/share/javascript/proxmox-backup/images/
|
||||||
www/proxmox-backup-gui.js /usr/share/javascript/proxmox-backup/js/
|
www/js/proxmox-backup-gui.js /usr/share/javascript/proxmox-backup/js/
|
||||||
|
10
www/Makefile
10
www/Makefile
@ -11,14 +11,16 @@ JSSRC= \
|
|||||||
Application.js \
|
Application.js \
|
||||||
MainView.js
|
MainView.js
|
||||||
|
|
||||||
all: proxmox-backup-gui.js
|
all: js/proxmox-backup-gui.js
|
||||||
|
|
||||||
proxmox-backup-gui.js: OnlineHelpInfo.js ${JSSRC}
|
js:
|
||||||
|
mkdir js
|
||||||
|
|
||||||
|
js/proxmox-backup-gui.js: js OnlineHelpInfo.js ${JSSRC}
|
||||||
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
find . -name '*~' -exec rm {} ';'
|
find . -name '*~' -exec rm {} ';'
|
||||||
rm -f proxmox-backup-gui.js
|
rm -rf js
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user