really install bootstrap files

This commit is contained in:
Dietmar Maurer 2014-05-02 07:58:17 +02:00
parent 2477b89c5d
commit b6c24349fe
3 changed files with 9 additions and 5 deletions

View File

@ -29,7 +29,7 @@ Open Source License
This version of Ext JS is licensed under the terms of the
Open Source GPL 3.0 license.
http://www.gnu.org/licenses/gpl.html
http://www.gnu.org/licenses/gpl.html (/usr/share/common-licenses/GPL-3)
There are several FLOSS exceptions available for use with this release for
open source applications that are distributed under a license other than GPL.

View File

@ -1,4 +1,4 @@
SUBDIRS = images ext4 css manager
SUBDIRS = images ext4 css manager bootstrap
all: ${SUBDIRS}

View File

@ -3,9 +3,11 @@ include ../../defines.mk
BTDIR=bootstrap-3.1.1-dist
BTSRC=${BTDIR}.zip
BTDATA = \
${BTDIR}/css/bootstrap.min.css \
${BTDIR}/js/bootstrap.min.js
BTDATA = \
${BTDIR}/css/bootstrap.min.css \
${BTDIR}/css/bootstrap-theme.min.css \
${BTDIR}/js/bootstrap.min.js \
${BTDIR}/fonts/glyphicons-halflings-regular.ttf
${BTDATA}: ${BTSRC}
rm -rf ${BTDIR}
@ -18,8 +20,10 @@ all: ${BTDATA}
install: ${BTDATA}
install -d ${WWWCSSDIR}
install -m 0644 -o www-data -g www-data ${BTDIR}/css/bootstrap.min.css ${WWWCSSDIR}
install -m 0644 -o www-data -g www-data ${BTDIR}/css/bootstrap-theme.min.css ${WWWCSSDIR}
install -d ${WWWJSDIR}
install -m 0644 -o www-data -g www-data ${BTDIR}/js/bootstrap.min.js ${WWWJSDIR}
install -m 0644 ${BTDIR}/fonts/glyphicons-halflings-regular.ttf ${WWWIMAGEDIR}
.PHONY: distclean
distclean: clean