summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/groff/font
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-05 19:15:36 +0000
committerru <ru@FreeBSD.org>2000-12-05 19:15:36 +0000
commit63989bb58b5b2af2849f62bdd869d7001cb2fbe7 (patch)
tree2565b1cd62e538e93485ccc85026080580008dba /gnu/usr.bin/groff/font
parent1f010d72ed9d0824998243537e0dd222b42d9fce (diff)
downloadFreeBSD-src-63989bb58b5b2af2849f62bdd869d7001cb2fbe7.zip
FreeBSD-src-63989bb58b5b2af2849f62bdd869d7001cb2fbe7.tar.gz
Upgrade to version 1.16.1.
Diffstat (limited to 'gnu/usr.bin/groff/font')
-rw-r--r--gnu/usr.bin/groff/font/Makefile.tty29
1 files changed, 4 insertions, 25 deletions
diff --git a/gnu/usr.bin/groff/font/Makefile.tty b/gnu/usr.bin/groff/font/Makefile.tty
index b745c02..6d27a3b 100644
--- a/gnu/usr.bin/groff/font/Makefile.tty
+++ b/gnu/usr.bin/groff/font/Makefile.tty
@@ -1,25 +1,4 @@
-# @(#)Makefile.tty 6.1 (Berkeley) 3/3/91
-#
-# Modified for Berkeley Unix by Donn Seeley, donn@okeeffe.berkeley.edu
-#
-#Copyright (C) 1989, 1990 Free Software Foundation, Inc.
-# Written by James Clark (jjc@jclark.uucp)
-#
-#This file is part of groff.
-#
-#groff is free software; you can redistribute it and/or modify it under
-#the terms of the GNU General Public License as published by the Free
-#Software Foundation; either version 1, or (at your option) any later
-#version.
-#
-#groff is distributed in the hope that it will be useful, but WITHOUT ANY
-#WARRANTY; without even the implied warranty of MERCHANTABILITY or
-#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-#for more details.
-#
-#You should have received a copy of the GNU General Public License along
-#with groff; see the file LICENSE. If not, write to the Free Software
-#Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+# $FreeBSD$
.MAIN: all
@@ -33,7 +12,7 @@ CLEANFILES=$(DEVFILES)
$(FONTS): R.proto
@${ECHO} Making $@
- @(charwidth=`echo $(RES) / $(CPI) | bc` ; \
+ @(charwidth=`expr $(RES) / $(CPI)` ; \
sed -e "s/^name [A-Z]*$$/name $@/" \
-e "s/^\\([^ ]*\\) [0-9]+ /\\1 $$charwidth /" \
-e "s/^spacewidth [0-9]+$$/spacewidth $$charwidth/" \
@@ -47,8 +26,8 @@ $(FONTS): R.proto
DESC: DESC.proto
@${ECHO} Making $@
@sed -e "s/^res .*$$/res $(RES)/" \
- -e "s/^hor .*$$/hor `echo $(RES) / $(CPI) | bc`/" \
- -e "s/^vert .*$$/vert `echo $(RES) / $(LPI) | bc`/" \
+ -e "s/^hor .*$$/hor `expr $(RES) / $(CPI)`/" \
+ -e "s/^vert .*$$/vert `expr $(RES) / $(LPI)`/" \
-e "s/^fonts .*$$/fonts `set $(FONTS); echo $$#` $(FONTS)/" \
${DIST_DIR}/DESC.proto >$@
OpenPOWER on IntegriCloud