Added 'set -o pipefail' to Makefile
This commit is contained in:
parent
b8b5f0a681
commit
d2d3a86dad
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -30,14 +30,14 @@ out/:
|
|||
|
||||
# Build PLFA pages
|
||||
out/%.md: src/%.lagda | out/
|
||||
agda2html $(AGDA2HTML_FLAGS) -i $< -o $@ 2>&1 \
|
||||
set -o pipefail; agda2html $(AGDA2HTML_FLAGS) -i $< -o $@ 2>&1 \
|
||||
| sed '/^Generating.*/d; /^Warning\: HTML.*/d; /^reached from the.*/d; /^\s*$$/d'
|
||||
@sed -i '1 s|---|---\nsrc : $(<)|' $@
|
||||
|
||||
|
||||
# Build TSPL pages
|
||||
out/%.md: tspl/%.lagda | out/
|
||||
agda2html $(AGDA2HTML_FLAGS) -i $< -o $@ -- --include-path=$(realpath src) 2>&1 \
|
||||
set -o pipefail; agda2html $(AGDA2HTML_FLAGS) -i $< -o $@ -- --include-path=$(realpath src) 2>&1 \
|
||||
| sed '/^Generating.*/d; /^Warning\: HTML.*/d; /^reached from the.*/d; /^\s*$$/d'
|
||||
@sed -i '1 s|---|---\nsrc : $(<)|' $@
|
||||
|
||||
|
|
Loading…
Reference in a new issue