summaryrefslogtreecommitdiff
path: root/Master/bin/win32/rumakeindexx2.bat
blob: f70a732457034dee2c17dc6d25ba02a34d23456a (plain)
1
2
3
4
5
6
7
8
@echo off
iconv -f UTF-8 -t CP1251 %1.idx > tmp.tmp
copy /b tmp.tmp %1.idx
del tmp.tmp
makeindex %1.idx -t %1.ilg  -s %2.ist -o %1.ind
iconv -f CP1251 -t UTF-8 %1.ind > tmp.tmp
copy /b tmp.tmp %1.ind
del tmp.tmp