summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2020-02-05 21:49:15 +0100
committerThomas Letan <lthms@soap.coffee>2020-02-05 21:49:15 +0100
commita1719f549b4bb736b1baab498e7722e7b6ad3d27 (patch)
tree53185312ff9828caa526a601fb00a3d4762b86e1
parentKeep the list of html files to ignore up-to-date when building (diff)
Fix link to locally defined terms in coqdoc output
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0f80d07..5b95670 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ force: clean build
@coqdoc --no-index --charset utf8 --short --body-only -d site/posts/ \
--coqlib "https://coq.inria.fr/distrib/current/stdlib/" \
$*.v
+ @sed -i -e 's/href="$(shell basename $*.html)\#/href="\#/g' $*.html
@rm -f site/posts/coqdoc.css
%.html: %.org