From 2935db4d804092a701cc139b7c179973658643e2 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 26 Mar 2022 20:09:48 +0100 Subject: tidy make file: unwrap long command on stdout --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d3e4d04..fb85a0c 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ $(vectorimage-graph): %.svg: %.dot Makefile $(eval title = $(shell head --lines=1 $< \ | grep --perl-regexp --only-matching '^\#\s*\K(\S+(\s\S+)*)+')) $(if $(filter-out ./,$(dir $@)),mkdir -p $(dir $@)) - pandoc -f markdown -t html5 -s \ + $(strip pandoc -f markdown -t html5 -s \ --metadata lang=da \ $(if $(title),\ $(if $(filter-out $(sitetitle),$(title)),$(strip \ @@ -34,7 +34,7 @@ $(vectorimage-graph): %.svg: %.dot Makefile -c $(shell realpath --relative-to=$(dir $@) style.css) \ -B nav.html \ -A footer.html \ - -o $@ $< + -o $@ $<) %.css : %.scss Makefile sassc --load-path /usr/share/sass --style compressed $< $@ -- cgit v1.2.3