9fa03fa2d3
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>
27 lines
481 B
Makefile
27 lines
481 B
Makefile
JSSRC= \
|
|
Utils.js \
|
|
Logo.js \
|
|
LoginView.js \
|
|
VersionInfo.js \
|
|
SystemConfiguration.js \
|
|
Subscription.js \
|
|
DataStoreConfig.js \
|
|
ServerAdministration.js \
|
|
NavigationTree.js \
|
|
Application.js \
|
|
MainView.js
|
|
|
|
all: js/proxmox-backup-gui.js
|
|
|
|
js:
|
|
mkdir js
|
|
|
|
js/proxmox-backup-gui.js: js OnlineHelpInfo.js ${JSSRC}
|
|
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
|
mv $@.tmp $@
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
find . -name '*~' -exec rm {} ';'
|
|
rm -rf js
|