Merge pull request #46 from michaellenaghan/master

Make hrefs to tspl4 absolute.
original commit: a280a06b35efa099096fd4cab63cde162f19d49c
This commit is contained in:
R. Kent Dybvig 2016-05-12 22:50:14 -07:00
commit dd7ecc2af9

View File

@ -116,7 +116,7 @@ tspl.aux: ${TSPL}/tspl.aux
tspl.haux: ${TSPL}/tspl.haux tspl.haux: ${TSPL}/tspl.haux
sed -e 's/(putprop (quote /(putprop (quote |TSPL|:/' ${TSPL}/tspl.haux | \ sed -e 's/(putprop (quote /(putprop (quote |TSPL|:/' ${TSPL}/tspl.haux | \
sed -e 's;url) ";url) "${TSPL}/;' > tspl.haux sed -e 's;url) ";url) "http://scheme.com/${TSPL}/;' > tspl.haux
tspl.rfm: ${TSPL}/tspl.rfm tspl.rfm: ${TSPL}/tspl.rfm
sed -e 's/\\pageref{/\\pageref{TSPL:/' ${TSPL}/tspl.rfm > tspl.rfm sed -e 's/\\pageref{/\\pageref{TSPL:/' ${TSPL}/tspl.rfm > tspl.rfm
@ -131,7 +131,7 @@ tspl.idx: ${TSPL}/tspl.idx
sed -e 's/{\([ivx][ivx]*\)}$$/{t\1}/' > tspl.idx sed -e 's/{\([ivx][ivx]*\)}$$/{t\1}/' > tspl.idx
in.hidx: ${TSPL}/out.hidx in.hidx: ${TSPL}/out.hidx
sed -e 's;"\(.*\)\.html#;"${TSPL}/\1.html#;' ${TSPL}/out.hidx | \ sed -e 's;"\(.*\)\.html#;"http://scheme.com/${TSPL}/\1.html#;' ${TSPL}/out.hidx | \
sed -e 's/"")$$/"t")/' > in.hidx sed -e 's/"")$$/"t")/' > in.hidx
$(texsrc): tspl4-prep.stex priminfo.ss ../s/primdata.ss $(texsrc): tspl4-prep.stex priminfo.ss ../s/primdata.ss