]> j8takagi.net git repositories - yacasl2.git/commitdiff
Texinfoファイルでセクションごとの目次を表示しないように設定
authorj8takagi <j8takagi@nifty.com>
Fri, 26 Jun 2026 14:26:30 +0000 (23:26 +0900)
committerj8takagi <j8takagi@nifty.com>
Fri, 26 Jun 2026 14:26:30 +0000 (23:26 +0900)
doc/texinfo.mk

index 37ff54a0c6d1692ddbc587aa37ee6b01e30dac9a..e6c20e9e509387520e5665bacb20c4950f361e62 100644 (file)
@@ -54,16 +54,16 @@ endif
        $(MAKEINFO) $(MAKEINFO_FLAGS) -o $@ $<
 
 %.html: %.texi
-       $(MAKEINFO) -o $@ --no-split --html --css-include=$(CSS) $<
+       $(MAKEINFO) -o $@ --no-split --html --css-include=$(CSS) --set-customization-variable FORMAT_MENU=nomenu $<
        $(SED) -i'.org' -e 's%<img src="\([^"]*\)" *[^>]*>%<object type="image/svg+xml" data="\1">&</object>%g' $@
        $(RM) $@.org
 
 %_html: %.texi
        if test ! -e $@; then $(MKDIR) $@; fi
        $(CP) $(CSS) $@/
-       $(MAKEINFO) -o $@ --html --css-ref=$(CSS) $<
-       $(SED) -i'.org' -e 's%<img src="\([^"]*\)" *[^>]*>%<object type="image/svg+xml" data="\1">&</object>%g' $@/*.html
-       $(RM) $@/*.html.org
+       $(MAKEINFO) -o $@ --html --css-ref=$(CSS) --set-customization-variable FORMAT_MENU=nomenu $<
+       $(SED) -i'.sedbak' -e 's%<img src="\([^"]*\)" *[^>]*>%<object type="image/svg+xml" data="\1">&</object>%g' $@/*.html
+       $(RM) $@/*.sedbak
 
 %.html %_html: $(CSS)