• R/O
  • SSH
  • HTTPS

lfsbookja: 提交


Commit MetaInfo

修訂1293 (tree)
時間2020-03-14 12:54:57
作者matsuand

Log Message

[LFS-9.1] txt版文字化け不備対応。

Change Summary

差異

--- tags/lfsbook/9.1/src/Makefile.am (revision 1292)
+++ tags/lfsbook/9.1/src/Makefile.am (revision 1293)
@@ -119,8 +119,9 @@
119119 @TXT@ make $(BASEDIR)/wget-list $(BASEDIR)/md5sums
120120
121121 @TXT@txt: nochunks
122-@TXT@ $(LYNX) -width=44 -dump $(BASEDIR)/$(NOCHUNKS_OUTPUT) > ../$(NOCHUNKS_NAME).txt
123-@TXT@ sed -i -E "s@file\:///[A-Za-z/\-]+\.html@$(URLTOP)/$(NOCHUNKS_NAME)-nochunks.html@g" ../$(NOCHUNKS_NAME).txt
122+@TXT@ $(LYNX) -assume_charset=utf-8 -display_charset=utf-8 -width=44 -dump $(BASEDIR)/$(NOCHUNKS_OUTPUT) > ../$(NOCHUNKS_NAME).txt
123+@TXT@ sed -i -e "s@file\:///[A-Za-z/\-]+\.html@$(URLTOP)/$(NOCHUNKS_NAME)-nochunks.html@g" \
124+@TXT@ -e "s@file\://$(abs_top_builddir)@$(URLTOP)@g" ../$(NOCHUNKS_NAME).txt
124125
125126 @PDF@@TAKAO@pdf: validate userconfig.xml
126127 @PDF@@TAKAO@ @echo "Generating profiled XML for PDF..."
--- tags/lfsbook/9.1/src/Makefile.in (revision 1292)
+++ tags/lfsbook/9.1/src/Makefile.in (revision 1293)
@@ -705,8 +705,9 @@
705705 @TXT@ make $(BASEDIR)/wget-list $(BASEDIR)/md5sums
706706
707707 @TXT@txt: nochunks
708-@TXT@ $(LYNX) -width=44 -dump $(BASEDIR)/$(NOCHUNKS_OUTPUT) > ../$(NOCHUNKS_NAME).txt
709-@TXT@ sed -i -E "s@file\:///[A-Za-z/\-]+\.html@$(URLTOP)/$(NOCHUNKS_NAME)-nochunks.html@g" ../$(NOCHUNKS_NAME).txt
708+@TXT@ $(LYNX) -assume_charset=utf-8 -display_charset=utf-8 -width=44 -dump $(BASEDIR)/$(NOCHUNKS_OUTPUT) > ../$(NOCHUNKS_NAME).txt
709+@TXT@ sed -i -e "s@file\:///[A-Za-z/\-]+\.html@$(URLTOP)/$(NOCHUNKS_NAME)-nochunks.html@g" \
710+@TXT@ -e "s@file\://$(abs_top_builddir)@$(URLTOP)@g" ../$(NOCHUNKS_NAME).txt
710711
711712 @PDF@@TAKAO@pdf: validate userconfig.xml
712713 @PDF@@TAKAO@ @echo "Generating profiled XML for PDF..."
Show on old repository browser