Dominik Csapak 059cb51053 do not let www-data own the static js/html files
this is neither necessary, nor useful
those files are meant to be read only anyway, so there is no gain in
them being owned by www-data

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-09 14:00:30 +02:00

43 lines
833 B
Makefile

include ../../defines.mk
# Note: Cookies.js is copied from ExtJS sources
# extjs/classic/classic/src/util/Cookies.js
JSSRC= \
Cookies.js \
../manager6/Utils.js \
../manager6/Parser.js \
Toolkit.js \
PVEProxy.js \
MenuButton.js \
PVEBar.js \
Workspace.js \
NodeSelector.js \
RealmSelector.js \
Login.js \
TaskList.js \
TaskViewer.js \
Datacenter.js \
NodeSummary.js \
Migrate.js \
VMSummaryBase.js \
QemuSummary.js \
LXCSummary.js \
app.js
all: pvemanager-mobile.js
pvemanager-mobile.js: ${JSSRC}
cat ${JSSRC} >$@.tmp
mv $@.tmp $@
.PHONY: install
install: pvemanager-mobile.js
install -d ${WWWTOUCHDIR}
install -m 0644 pvemanager-mobile.js ${WWWTOUCHDIR}
.PHONY: clean
clean:
rm -rf *~ pvemanager-mobile.js