Commit 91ea21bb by Tobias Rautenkranz

Fix build

parent 57ed9dd6
changelog := _includes/changelog.html.fragment
all: $(changelog)
#jekyll build -I
jekyll build -q
serve:
jekyll serve -B -D > /dev/null 2>&1
......@@ -17,15 +17,10 @@ $(changelog):
@git log --pretty=format:'<dt>%n<a href="$(REPO)%H">%ai</a>%n</dt><dd>%s</dd>%n' >> $@
@echo "</dl>" >> $@
## html5 tidy
# FIXME
tidy_ops := -quiet -ashtml -utf8 --preserve-entities yes \
-indent --indent-spaces 2 -wrap 80 \
--new-blocklevel-tags nav,article,aside,header,footer,figure,figcaption,time,main \
--new-inline-tags video,audio,canvas \
--sort-attributes alpha
.PHONY: clean
clean:
rm -f $(changelog)
## html ##
tidy:
#tidy $(tidy_ops) -m _site/index.html
tidy $(tidy_ops) -m `find _site/ -name "*.html"`
.PHONY: clean
dist-clean: clean
rm -rf _site
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