Commit | Line | Data |
---|---|---|
64f6bb43 WJ |
1 | @echo off\r |
2 | if '%1'=='+' goto noinit\r | |
3 | echo + >_temp_.dob\r | |
4 | echo # >_temp_.dow\r | |
5 | echo /* This file was automatically generated by Ghostscript (gsconfig.bat). */ >_temp_.dh\r | |
6 | echo /* */ >_temp_.dop\r | |
7 | echo /* */ >_temp_.dps\r | |
8 | echo + >_temp_.dlb\r | |
9 | echo @echo off >_temp_.bat\r | |
10 | goto top\r | |
11 | :noinit\r | |
12 | shift\r | |
13 | :top\r | |
14 | if '%1'=='' goto done\r | |
15 | if '%1'=='+' goto nofin\r | |
16 | type %1 >>_temp_.bat\r | |
17 | shift\r | |
18 | goto top\r | |
19 | :done\r | |
20 | command /c _temp_.bat\r | |
21 | sort <_temp_.dob | uniq >obj.tr\r | |
22 | sort <_temp_.dow | uniq >objw.tr\r | |
23 | if exist gconfig.h erase gconfig.h\r | |
24 | rename _temp_.dh gconfig.h\r | |
25 | sort <_temp_.dop | uniq >>gconfig.h\r | |
26 | if exist lib.tr erase lib.tr\r | |
27 | rename _temp_.dlb lib.tr\r | |
28 | sort <_temp_.dps | uniq >>gconfig.h\r | |
29 | erase _temp_.d*\r | |
30 | erase _temp_.bat\r | |
31 | :nofin\r |