summaryrefslogtreecommitdiff
path: root/Master/bin/win32/rumakeindexx.bat
blob: 8aa221d4acfbe9094dfb6585b2a0bf9bb2b79a93 (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 -o %1.ind
iconv -f CP1251 -t UTF-8 %1.ind > tmp.tmp
copy /b tmp.tmp %1.ind
del tmp.tmp