delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/17/14:30:10

Message-Id: <200007171828.UAA01531@mailgw3.netvision.net.il>
Date: Mon, 17 Jul 2000 21:28:54 +0200
To: "john watkins" <john_watkins AT talk21 DOT com>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
In-reply-to: <000801bfefdc$5d3bb1a0$020e78d5@oemcomputer>
(john_watkins AT talk21 DOT com)
Subject: Re: Extra fonts for use with groff
References: <000801bfefdc$5d3bb1a0$020e78d5 AT oemcomputer>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "john watkins" <john_watkins AT talk21 DOT com>
> Date: Mon, 17 Jul 2000 11:46:26 +0100

[Please don't post in HTML.]

>     c:\djgpp\share\groff\font\devps\make -f generate\makefile
> 
> the following diagnostic appears
> 
>     afmtodit -dgenerate/../DESC -e generate/../ text.enc \
>     'C:\WINDOWS\COMMAND.COM generate/afmname /usr/local/afm/AvantGarde =
> -Demi.afm' generate/textmap AB
>     Undefined subroutine &main::Getopts called at C:\DJGPP\BIN/afmtodit =
> line 26
>     make.exe : *** [AB] Error 22

That Makefile requires a Unixy shell.  So either edit the Makefile to
add the line "SHELL = /bin/sh" somewhere at the beginning, or set it
from the command line:

   set SHELL=c:/djgpp/bin/sh.exe
   make -f generate/Makefile

This works for me (except that it fails because I don't have any *.afm
files in the /usr/local/lib/afm directory.  If you have the *.afm
files in another directory, say this instead:

   set SHELL=c:/djgpp/bin/sh.exe
   make -f generate/Makefile afmdir=/path/to/the/afm-file/directory

(FWIW, I tested this with Groff 1.16.)

It goes without saying that you will need to have the port of Bash
installed, for the above to work.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019