基本情報処理試験のフォルダを変更し、2018年春の分を追加
[YACASL2.git] / doc / texinfo.mk
index bd3c4d4..728091e 100644 (file)
@@ -53,13 +53,13 @@ endif
 
 %.html: %.texi
        $(MAKEINFO) -o $@ --no-split --html --css-include=$(CSS) $<
-       $(SED) -i '' -e 's%<img src="\([^"]*\)" alt="[^"]*">%<object type="image/svg+xml" data="\1"></object>%g' $@
+       $(SED) -i '' -e 's%<img src="\([^"]*\)" *[^>]*>%<object type="image/svg+xml" data="\1">&</object>%g' $@
 
 %_html: %.texi
        if test ! -e $@; then $(MKDIR) $@; fi
        $(CP) $(CSS) $@/
        $(MAKEINFO) -o $@ --html --css-ref=$(CSS) $<
-       $(SED) -i '' -e 's%<img src="\([^"]*\)" alt="[^"]*">%<object type="image/svg+xml" data="\1"></object>%g' $@
+       $(SED) -i '' -e 's%<img src="\([^"]*\)" *[^>]*>%<object type="image/svg+xml" data="\1">&</object>%g' $@
 
 %.html %_html: $(CSS)