From 4df3999d85d645ba63a641b132e13c2955c191e6 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Oct 05 2016 07:45:16 +0000 Subject: Don't convert encoding of docs, which are already in UTF-8 --- diff --git a/emacs-common-ddskk.spec b/emacs-common-ddskk.spec index 3cd665c..15f9355 100644 --- a/emacs-common-ddskk.spec +++ b/emacs-common-ddskk.spec @@ -65,25 +65,9 @@ XEmacs. sed -ie "s!\(SKK-MK-texinfo-coding-system\) 'iso-2022-jp!\1 'utf-8!" SKK-MK -# We first convert Shift_JIS docs to UTF-8 and save it as *.UTF-8. -# Then do the same thing for ISO-2022-JP docs (the rest of docs ending -# with .ja). Finally, change the filenames back to the originals. - -for i in READMEs/README.MacOSX.ja READMEs/README.w32.ja -do - iconv -f Shift_JIS -t UTF-8 $i > ${i}.UTF-8 - rm $i -done - -for i in READMEs/*.ja -do - iconv -f ISO-2022-JP -t UTF-8 $i > ${i}.UTF-8 -done - -for i in READMEs/*.UTF-8 -do - mv $i ${i%%.UTF-8} -done +# We don't need information about other platforms +rm READMEs/README.MacOSX.ja +rm READMEs/README.w32.ja.org # avoid buildroot in tutorial path sed -ie "s!@TUT@!%{_datadir}/skk/SKK.tut!" skk-setup.el.in