proxmox-backup/www/Makefile
Wolfgang Bumiller 9fa03fa2d3 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>
2019-02-01 10:41:54 +01:00

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