summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2022-03-26 20:09:48 +0100
committerJonas Smedegaard <dr@jones.dk>2022-03-26 20:09:48 +0100
commit2935db4d804092a701cc139b7c179973658643e2 (patch)
tree3761ec04528667705540f3d3629f4ba4520fde5d /Makefile
parent6a7d3d2f188aced7c0ca0351646da459f6fbabbe (diff)
tidy make file: unwrap long command on stdout
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files 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 $< $@