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