# Copyright (C) 1991, 1992 Aladdin Enterprises. All rights reserved.
# Distributed by Free Software Foundation, Inc.
# This file is part of Ghostscript.
# Ghostscript is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
# to anyone for the consequences of using it or for whether it serves any
# particular purpose or works at all, unless he says so in writing. Refer
# to the Ghostscript General Public License for full details.
# Everyone is granted permission to copy, modify and redistribute
# Ghostscript, but only under the conditions described in the Ghostscript
# General Public License. A copy of this license is supposed to have been
# given to you along with Ghostscript so you can know your rights and
# responsibilities. It should be in a file named COPYING. Among other
# things, the copyright notice and this notice must be preserved on all
# Auxiliary MS-DOS makefile for maintenance operations.
# This file pertains to Aladdin Enterprises maintenance operations,
# and is unlikely to be useful to users.
# xmit -- make the .BE files for Kermit transmission
# xfer -- make a diskette for transferring files to the Sun
# release -- make the .BE files for a release
# disk720, disk1.2, disk1.44 -- make a MS-DOS diskette set
# Remember to erase *.zip / *.z / *.be, if needed, before running these.
# ---------------- Make files for Kermit transmission ----------------
TARS
=tar1.be tar2.be tar3a.be tar3b.be tar3c.be tar4a.be tar4b.be tar5.be tar6.be tar7.be
xfer
: tar1.z tar2.z tar3a.z tar3b.z tar3c.z tar4a.z tar4b.z \
@echo
---------------- Insert diskette
:
# The dependency lists for the .be files should be much longer!
tar -b1
-cf _temp_.t
-uexe gs.exe gs386.exe
if exist tar0.z erase tar0.z
tar1.z
: \cp.bat
\rm.bat bdftops.bat font2c.bat pfbtogs.bat
tar -b1
-cf _temp_.t
-ubat g
*.asm i
*.asm gs
*.bat cp.bat bdftops.bat font2c.bat pfbtogs.bat showpbm.bat
rm.bat
tar2.z
: ansi2knr.c checkall ega.c uniq.c
tar -b1
-cf _temp_.t ansi2knr.c checkall ega.c uniq.c
tar -b1
-cf _temp_.t gs
*.c
rename _temp_.txz tar3a.z
tar -b1
-cf _temp_.t gx
*.c
rename _temp_.txz tar3b.z
tar3c.z
: gconfig.c genarch.c
tar -b1
-cf _temp_.t gdev
*.c gp_
*.c gconfig.c genarch.c
rename _temp_.txz tar3c.z
tar4a.z
: interp.c stream.c turboc.cfg history.doc
tar -b1
-cf _temp_.t i
*.c s
*.c turboc.cfg
*.doc
rename _temp_.txz tar4a.z
tar -b1
-cf _temp_.t z
*.c
rename _temp_.txz tar4b.z
tar -b1
-cf _temp_.t
*.h
*.mak
*.man
*.sh
*.tr tar_
*.
tar6.z
: gs_init.ps uglyr.gsf
tar -b1
-cf _temp_.t
*.ps ugly
*.
*
tar7.z
: fontmap license readme bdftops font2c pfbtogs ccgs echoq
tar -b1
-cf _temp_.t fontmap license readme bdftops font2c pfbtogs showpbm gs
*. ccgs echoq
# ---------------- Make MS-DOS diskette sets ----------------
# We have to juggle things carefully to make the files fit.
@echo
---------------- Done.
----------------
@echo
---------------- Done.
----------------
# ------ Here are the ZIP files that go onto the diskettes. ------
# We have to break them up so they will fit onto 720Kb media,
# and so that two of them will fit onto 1.2Mb media.
gsexe.zip
: gs.exe gs386.exe
if exist gsexe.zip erase gsexe.zip
pkzip gsexe.zip gs.exe gs386.exe \watc
\bin\dos4gw.exe
if exist _temp_.zip erase _temp_.zip
pkzip _temp_.zip gs
*.bat bdftops.bat font2c.bat pfbtogs.bat showpbm.bat
*.doc
pkzip
-a _temp_.zip
*.ps fontmap license readme bdftops font2c pfbtogs showpbm
pkzip
-d _temp_.zip q
* q
*.
* t.
* comp1.
*
if exist gsfiles.zip erase gsfiles.zip
rename _temp_.zip gsfiles.zip
if exist _temp_.zip erase _temp_.zip
pkzip _temp_.zip
\rm.bat \cp.bat
pkzip
-a _temp_.zip g
*.asm i
*.asm
pkzip
-a _temp_.zip ansi2knr.c ega.c uniq.c turboc.cfg
pkzip
-a _temp_.zip
*.h
*.mak
*.man
*.sh
*.tr tar_
*. ugly
*.
*
pkzip
-a _temp_.zip gs
*. ccgs echoq
pkzip
-d _temp_.zip arch.h gconfig.h obj
*.tr lib
*.tr _temp
*.
*
pkzip
-d _temp_.zip ugly
*.bdf libc
*.tr q
* q
*.
* t.
* comp1.
*
if exist gssrc1.zip erase gssrc1.zip
rename _temp_.zip gssrc1.zip
if exist _temp_.zip erase _temp_.zip
pkzip _temp_.zip g
*.c i
*.c s
*.c z
*.c
pkzip
-d _temp_.zip zlzw
*.c slzw
*.c comp1.
*
if exist gssrc2.zip erase gssrc2.zip
rename _temp_.zip gssrc2.zip
gsfonts1.zip
: fonts
\bchr.gsf fonts\pagk.gsf fonts\pbkd.gsf fonts\pcrro.gsf
if exist _temp_.zip erase _temp_.zip
pkzip _temp_.zip fonts
\b*.gsf fonts\pa
*.gsf fonts\pb
*.gsf fonts\
pc*.gsf
if exist gsfonts1.zip erase gsfonts1.zip
rename _temp_.zip gsfonts1.zip
gsfonts2.zip
: fonts\phvr.gsf fonts\pncr.gsf fonts\pplr.gsf
if exist _temp_.zip erase _temp_.zip
pkzip _temp_.zip fonts\ph
*.gsf fonts\pn
*.gsf fonts\pp
*.gsf
if exist gsfonts2.zip erase gsfonts2.zip
rename _temp_.zip gsfonts2.zip
gsfonts3.zip
: fonts\psyr.gsf fonts\ptmr.gsf fonts\pzdr.gsf fonts\zcr.gsf
if exist _temp_.zip erase _temp_.zip
pkzip _temp_.zip fonts\ps
*.gsf fonts\pt
*.gsf fonts\pz
*.gsf fonts\z
*.gsf
if exist gsfonts3.zip erase gsfonts3.zip
rename _temp_.zip gsfonts3.zip
gsfonts4.zip
: fonts\cour.pfa hershey\hrsy_r.gsf
if exist _temp_.zip erase _temp_.zip
pkzip _temp_.zip hershey\
*.gsf fonts\
*.pfa
if exist gsfonts4.zip erase gsfonts4.zip
rename _temp_.zip gsfonts4.zip
# ------ Now the actual contents of the diskettes. ------
# Double density diskettes (720K)
disk1dd
: readme
.1st gsexe.zip
@askdisk
1 $(DRIVE
) $(LABEL
)_1
$7
xcopy readme
.1st
$(DRIVE
) /v
xcopy \utils\pkunzip.exe
$(DRIVE
) /v
xcopy gsexe.zip
$(DRIVE
) /v
disk2dd
: gsfiles.zip gssrc1.zip
@askdisk
2 $(DRIVE
) $(LABEL
)_2
$7
xcopy gsfiles.zip
$(DRIVE
) /v
xcopy gssrc1.zip
$(DRIVE
) /v
@askdisk
3 $(DRIVE
) $(LABEL
)_3
$7
xcopy gssrc2.zip
$(DRIVE
) /v
@askdisk
4 $(DRIVE
) $(LABEL
)_4
$7
xcopy gsfonts1.zip
$(DRIVE
) /v
@askdisk
5 $(DRIVE
) $(LABEL
)_5
$7
xcopy gsfonts2.zip
$(DRIVE
) /v
@askdisk
6 $(DRIVE
) $(LABEL
)_6
$7
xcopy gsfonts3.zip
$(DRIVE
) /v
@askdisk
7 $(DRIVE
) $(LABEL
)_7
$7
xcopy gsfonts4.zip
$(DRIVE
) /v
# High density diskettes (1.2Mb or 1.44Mb)
disk1hd
: readme
.1st gsexe.zip gsfiles.zip
@askdisk
1 $(DRIVE
) $(LABEL
)_1
$4
xcopy readme
.1st
$(DRIVE
) /v
xcopy \utils\pkunzip.exe
$(DRIVE
) /v
xcopy gsexe.zip
$(DRIVE
) /v
xcopy gsfiles.zip
$(DRIVE
) /v
disk2hd
: gssrc1.zip gssrc2.zip
@askdisk
2 $(DRIVE
) $(LABEL
)_2
$4
xcopy gssrc1.zip
$(DRIVE
) /v
xcopy gssrc2.zip
$(DRIVE
) /v
disk3hd
: gsfonts1.zip gsfonts2.zip
@askdisk
3 $(DRIVE
) $(LABEL
)_3
$4
xcopy gsfonts1.zip
$(DRIVE
) /v
xcopy gsfonts2.zip
$(DRIVE
) /v
disk4hd
: gsfonts3.zip gsfonts4.zip
@askdisk
4 $(DRIVE
) $(LABEL
)_4
$4
xcopy gsfonts3.zip
$(DRIVE
) /v
xcopy gsfonts4.zip
$(DRIVE
) /v