Commit 364b1b58 authored by Dietmar Maurer's avatar Dietmar Maurer

add sencha touch framework

parent eeffac5b
...@@ -82,6 +82,7 @@ eval { ...@@ -82,6 +82,7 @@ eval {
my $dirs = {}; my $dirs = {};
add_dirs($dirs, '/pve2/locale/', '/usr/share/pve-manager/locale/'); add_dirs($dirs, '/pve2/locale/', '/usr/share/pve-manager/locale/');
add_dirs($dirs, '/pve2/touch/', '/usr/share/pve-manager/touch/');
add_dirs($dirs, '/pve2/ext4/', '/usr/share/pve-manager/ext4/'); add_dirs($dirs, '/pve2/ext4/', '/usr/share/pve-manager/ext4/');
add_dirs($dirs, '/pve2/images/' => '/usr/share/pve-manager/images/'); add_dirs($dirs, '/pve2/images/' => '/usr/share/pve-manager/images/');
add_dirs($dirs, '/pve2/css/' => '/usr/share/pve-manager/css/'); add_dirs($dirs, '/pve2/css/' => '/usr/share/pve-manager/css/');
......
SUBDIRS = images ext4 css manager bootstrap SUBDIRS = images ext4 css manager bootstrap touch
all: ${SUBDIRS} all: ${SUBDIRS}
......
include ../../defines.mk
TOUCHDIR=touch-2.3.1
TOUCHSRC=sencha-touch-2.3.1a-gpl.zip
TOUCHDATA = \
${TOUCHDIR}/sencha-touch-all.js \
${TOUCHDIR}/sencha-touch-all-debug.js
${TOUCHDATA}: ${TOUCHSRC}
rm -rf ${TOUCHDIR}
unzip -x ${TOUCHSRC}
all: ${TOUCHDATA}
.PHONY: install
install: ${TOUCHDATA}
install -d ${WWWTOUCHDIR}
install -m 0644 ${TOUCHDATA} ${WWWTOUCHDIR}
install -d ${WWWTOUCHDIR}/resources/css
cp ${TOUCHDIR}/resources/css/*.css ${WWWTOUCHDIR}/resources/css
install -m 0644 pve.css ${WWWTOUCHDIR}/resources/css
install -d ${WWWTOUCHDIR}/resources/themes/images
cp -a ${TOUCHDIR}/resources/themes/images/default ${WWWTOUCHDIR}/resources/themes/images
chown -R www-data:www-data ${WWWTOUCHDIR}
find ${WWWTOUCHDIR} -type f -exec chmod -R 0644 '{}' ';'
.PHONY: distclean
distclean: clean
.PHONY: clean
clean:
rm -rf *~ ${TOUCHDIR}
/* currently empty */
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment