File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ HTML_FIXUP_CSS = '/<link rel="stylesheet" type="text\/css" href="\/assets\/pa
46
46
\n<script src="/assets/js/simple-css-switch.js"></script>'
47
47
HTML_FIXUP_ONLOAD = 's/<body lang="en">/<body lang="en" onload="simpleCssSwitch()">/'
48
48
HTML_FIXUP_MENU = '/<\/body>/i<div id="s-css-s--menu"><\/div>'
49
+ HTML_FIXUP_HREF = 's% href="\.\./\(.*\)_html/% href="../\1/%'
49
50
50
51
% .html : % .texi
51
52
@printf " Generating $@ \n"
@@ -57,7 +58,7 @@ HTML_FIXUP_MENU = '/<\/body>/i<div id="s-css-s--menu"><\/div>'
57
58
@rm -rf $(PKG )
58
59
@$(MAKEINFO ) --html -o $(PKG ) / $(MANUAL_HTML_ARGS ) $<
59
60
@for f in $$(find $(PKG ) -name '*.html' ) ; do \
60
- sed -i -e $(HTML_FIXUP_CSS ) -e $(HTML_FIXUP_ONLOAD ) -e $(HTML_FIXUP_MENU ) $$ f ; \
61
+ sed -i -e $(HTML_FIXUP_CSS ) -e $(HTML_FIXUP_ONLOAD ) -e $(HTML_FIXUP_MENU ) -e $( HTML_FIXUP_HREF ) $$ f ; \
61
62
done
62
63
63
64
% .pdf : % .texi
You can’t perform that action at this time.
0 commit comments