diff options
author | Jonas Smedegaard <dr@jones.dk> | 2022-03-26 20:09:48 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2022-03-26 20:09:48 +0100 |
commit | 2935db4d804092a701cc139b7c179973658643e2 (patch) | |
tree | 3761ec04528667705540f3d3629f4ba4520fde5d /Makefile | |
parent | 6a7d3d2f188aced7c0ca0351646da459f6fbabbe (diff) |
tidy make file: unwrap long command on stdout
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 $< $@ |