[comp.sources.misc] v08i073: cz text to PostScript system, part 09 of 14

allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc) (10/01/89)

Posting-number: Volume 8, Issue 73
Submitted-by: howard@dahlbeck.ericsson.se (Howard Gayle)
Archive-name: cz/part09

#! /bin/sh
# This is a shell archive.  Remove anything before this line, then feed it
# into a shell via "sh file" or similar.  To overwrite existing files,
# type "sh file -c".
# The tool that generated this appeared in the comp.sources.unix newsgroup;
# send mail to comp-sources-unix@uunet.uu.net if you want that tool.
# If this archive is complete, you will see the following message at the end:
#		"End of archive 9 (of 14)."
# Contents:  uMakefile uk.rc
# Wrapped by howard@dahlbeck on Mon Sep 25 07:15:23 1989
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'uMakefile' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'uMakefile'\"
else
echo shar: Extracting \"'uMakefile'\" \(1919 characters\)
sed "s/^X//" >'uMakefile' <<'END_OF_FILE'
X# uMakefile - micro GNU make file for cz
X#
X# $Header: uMakefile,v 1.6 89/09/22 07:44:45 howard Exp $
X#
X# Copyright 1989 Howard Lee Gayle
X# This file is written in the ISO 8859/1 character set.
X#
X# This program is free software; you can redistribute it and/or modify
X# it under the terms of the GNU General Public License version 1,
X# as published by the Free Software Foundation.
X#
X# This program is distributed in the hope that it will be useful,
X# but WITHOUT ANY WARRANTY; without even the implied warranty of
X# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
X# GNU General Public License for more details.
X#
X# You should have received a copy of the GNU General Public License
X# along with this program; if not, write to the Free Software
X# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
X
X
Xinclude MakeCommon
X
X# Commands:
X
X# Make depend file that shows include files that C programs use.
XDEPEND=mkCIncl
X
X# Search for regual expression.
XGREP=grep
X
X# Make FREEZE.*.
XMKFREEZE=mkFreeze
X
X# Sort file.
XSORT=sort
X
X# Sources:
XCS := $(filter %.c,$(SRCS))
XHS := $(filter %.h,$(SRCS))
X
X# Targets:
Xit = FREEZE.i ps-abbrev.i state0.i
X
Xtargets := $(it) Makefile depend
X
Xifdef WORK
X.DEFAULT:
X	$(UNCMPRS) $@
Xelse # WORK
X.DEFAULT:
X	$(DISTI) $@ $(DD)
Xendif # WORK
X
X.SUFFIXES:
X.PHONY: default
X
Xdefault: $(targets)
X
Xifndef WORK
XMakefile: $(DD)/Makefile
X	$(DISTI) $@ $(DD)
Xendif # WORK
X
Xdepend: $(CS) $(HS) $(it)
X	$(DEPEND) "$(INCLUDES)" $(CS) > $@
X
XFREEZE.i: FREEZE
X	$(RM) FREEZE.*
X	$(MKFREEZE)
X	$(CHMOD) a=r FREEZE.*
X
X#The following slick sed script takes the M4-format defines in ps-abbrev.m4
X#and turns them into C format #defines suitable for including into cz0.c.
Xps-abbrev.i: ps-abbrev.m4
X	$(GREP) '^define(' $< | \
X        $(SED) -e \
X        's;^define(\([^,]*\),\(  *\)\([^)]*\))dnl\(..*\);#define \1\2 S("\3") /*\4*/;' \
X        | $(SORT) > $@
X
Xstate0.i: ps-abbrev.m4 state0.m4
X	$(M4) state0.m4 > $@
X
END_OF_FILE
if test 1919 -ne `wc -c <'uMakefile'`; then
    echo shar: \"'uMakefile'\" unpacked with wrong size!
fi
# end of 'uMakefile'
fi
if test -f 'uk.rc' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'uk.rc'\"
else
echo shar: Extracting \"'uk.rc'\" \(1063 characters\)
sed "s/^X//" >'uk.rc' <<'END_OF_FILE'
X; de.rc - Character remappings for UK ISO 646
X;
X; Copyright   1989 Howard Lee Gayle
X; This file is written in the ISO 8859/1 character set.
X;
X; $Header: uk.rc,v 1.2 89/08/29 10:08:11 howard Exp $
X;
X; This program is free software; you can redistribute it and/or modify
X; it under the terms of the GNU General Public License version 1,
X; as published by the Free Software Foundation.
X;
X; This program is distributed in the hope that it will be useful,
X; but WITHOUT ANY WARRANTY; without even the implied warranty of
X; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
X; GNU General Public License for more details.
X;
X; You should have received a copy of the GNU General Public License
X; along with this program; if not, write to the Free Software
X; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
X;
X; $ is not converted because it almost always means US
X; dollars, not general currency sign.
X
X Octet0.8#043# +(\243 ; # -> pound sign
X;Octet0.8#044# +(\244 ; $ -> general currency sign
X;Octet0.8#176# +(_    ; ~ -> overline
XCommandFile 8859-1
END_OF_FILE
if test 1063 -ne `wc -c <'uk.rc'`; then
    echo shar: \"'uk.rc'\" unpacked with wrong size!
fi
# end of 'uk.rc'
fi
echo shar: End of archive 9 \(of 14\).
cp /dev/null ark9isdone
MISSING=""
for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ; do
    if test ! -f ark${I}isdone ; then
	MISSING="${MISSING} ${I}"
    fi
done
if test "${MISSING}" = "" ; then
    echo You have unpacked all 14 archives.
    rm -f ark[1-9]isdone ark[1-9][0-9]isdone
else
    echo You still need to unpack the following archives:
    echo "        " ${MISSING}
fi
##  End of shell archive.
exit 0