Try to fix Travis build

This commit is contained in:
squidfunk 2019-11-27 19:03:33 +01:00
parent ffda730071
commit 24882c2057

View File

@ -89,7 +89,7 @@ material/assets/fonts/%.css: src/assets/fonts/%.css | $$(@D)/.
# Icons
IMAGES_ICONS = $(subst src,material,$(wildcard src/assets/images/icons/*.svg))
material/assets/images/icons: ${IMAGES_ICONS}
material/assets/images/icons/%: src/assets/images/icons/% | $$(@D)/.
material/assets/images/icons/%.svg: src/assets/images/icons/%.svg | $$(@D)/.
@ echo "+ $@"
@ ${BIN}/svgo -q -i $< -o $@ --disable=removeViewBox
@ -184,6 +184,10 @@ material/%.yml: src/%.yml
NAME = $(shell jq -r '.name' package.json)
VERSION = $(shell jq -r '.version' package.json)
material: $$@/assets $$@/__init__.py $$@/mkdocs_theme.yml ${HTML}
echo ${NAME}
echo ${VERSION}
ls package.json
cat package.json
@ sed -i "" 's/\$$md-name\$$/${NAME}/' $@/base.html
@ sed -i "" 's/\$$md-version\$$/${VERSION}/' $@/base.html
@ sed -i "" 's/\$$md-lunr-languages\$$/${LUNR_LANGUAGES}/' $@/base.html