2019-01-31 12:43:09 +00:00
|
|
|
include ../defines.mk
|
|
|
|
|
|
|
|
IMAGES := \
|
|
|
|
images/logo-128.png \
|
|
|
|
images/proxmox_logo.png
|
|
|
|
|
2018-12-04 16:53:10 +00:00
|
|
|
JSSRC= \
|
2018-12-05 11:39:40 +00:00
|
|
|
Utils.js \
|
2018-12-04 16:53:10 +00:00
|
|
|
Logo.js \
|
2019-01-30 14:14:20 +00:00
|
|
|
LoginView.js \
|
2018-12-04 16:58:40 +00:00
|
|
|
VersionInfo.js \
|
2019-01-22 10:48:00 +00:00
|
|
|
SystemConfiguration.js \
|
|
|
|
Subscription.js \
|
2019-01-25 12:04:10 +00:00
|
|
|
DataStoreConfig.js \
|
2019-01-25 12:10:55 +00:00
|
|
|
ServerAdministration.js \
|
2019-01-22 10:48:00 +00:00
|
|
|
NavigationTree.js \
|
2018-12-04 16:53:10 +00:00
|
|
|
Application.js \
|
|
|
|
MainView.js
|
|
|
|
|
2019-12-16 17:16:05 +00:00
|
|
|
all: js/proxmox-backup-gui.js css/ext6-pbs.css
|
2018-12-04 16:53:10 +00:00
|
|
|
|
2019-01-31 12:36:33 +00:00
|
|
|
js:
|
|
|
|
mkdir js
|
|
|
|
|
|
|
|
js/proxmox-backup-gui.js: js OnlineHelpInfo.js ${JSSRC}
|
2019-01-25 11:37:01 +00:00
|
|
|
cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
|
2018-12-04 16:53:10 +00:00
|
|
|
mv $@.tmp $@
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
find . -name '*~' -exec rm {} ';'
|
2019-01-31 12:36:33 +00:00
|
|
|
rm -rf js
|
2019-01-31 12:43:09 +00:00
|
|
|
|
2019-12-16 17:16:05 +00:00
|
|
|
install: js/proxmox-backup-gui.js css/ext6-pbs.css
|
2019-01-31 12:43:09 +00:00
|
|
|
install -dm755 $(DESTDIR)$(JSDIR)
|
|
|
|
install -dm755 $(DESTDIR)$(JSDIR)/js
|
|
|
|
install -m644 js/proxmox-backup-gui.js $(DESTDIR)$(JSDIR)/js/
|
2019-12-16 17:16:05 +00:00
|
|
|
install -dm755 $(DESTDIR)$(JSDIR)/css
|
|
|
|
install -m644 css/ext6-pbs.css $(DESTDIR)$(JSDIR)/css/
|
2019-01-31 12:43:09 +00:00
|
|
|
install -dm755 $(DESTDIR)$(JSDIR)/images
|
|
|
|
$(foreach i,$(IMAGES), \
|
|
|
|
install -m644 $(i) $(DESTDIR)$(JSDIR)/images/ ;)
|