summaryrefslogtreecommitdiff
path: root/textproc/docbook-to-man/files/patch-cmd::docbook-to-man.sh
blob: 462f0707d5b78d465d0b042f6118e62562e62fe4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
--- cmd/docbook-to-man.sh.orig	Mon Jun 17 05:50:30 1996
+++ cmd/docbook-to-man.sh	Fri Oct  5 18:18:22 2001
@@ -40,9 +40,9 @@
 # ***** change the following paths if your installation of nsgmls and / or
 # ***** DocBook isn't into the default places.
 
-ROOT=/usr/local
-SGMLS=$ROOT/lib/sgml
-DOCBOOK=$SGMLS/Davenport/dtd
+ROOT=%%PREFIX%%
+SGMLS=$ROOT/share/sgml
+DOCBOOK=$SGMLS/docbook
 
 
 # ***** modify the following line (to "=false") if you're not using the
@@ -51,19 +51,16 @@
 doElanPSInclude=true
 
 
-
 # Everything below this line should be pretty standard and not require
 # modification.
 
 #ulimit -c unlimited
 
 PARSER=nsgmls
-INSTANT=instant
+INSTANT=oinstant
 INSTANT_OPT=-d
 
-CATALOG=$DOCBOOK/docbook.cat
-DECL=$DOCBOOK/docbook.dcl
-#PROLOG=$DOCBOOK/docbook.prolog
+CATALOG=$DOCBOOK/catalog
 
 error=false
 
@@ -159,17 +156,8 @@
 .ds f4\"
 !
 
-
-#if [ ! -f $PROLOG ]
-#then	cat > $PROLOG <<!
-#<!DOCTYPE RefEntry PUBLIC "-//Davenport//DTD DocBook V2.4.1//EN" [
-#<!ENTITY npzwc "">
-#]>
-#!
-#fi
-
 (cat /tmp/dtm.$$.psinc;
- $PARSER -gl -m$CATALOG $DECL $INSTANCE |
+ $PARSER -gl -c $CATALOG $INSTANCE |
 	$INSTANT $INSTANT_OPT -croff.cmap -sroff.sdata -tdocbook-to-man.ts)
 
-rm -f /tmp/dtm.$$.psinc    
+rm -f /tmp/dtm.$$.psinc