~ubuntu-branches/ubuntu/raring/maradns/raring

« back to all changes in this revision

Viewing changes to deadwood-2.4.10/tools/ej/ej2ps

  • Committer: Bazaar Package Importer
  • Author(s): Kai Hendry
  • Date: 2010-01-24 12:17:40 UTC
  • mfrom: (1.1.13 upstream) (10.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100124121740-a4e1fjobwaouz443
Tags: 1.4.02-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
# Convert an ej document to a manpage document; which we then make a 
 
4
# postscript document from
 
5
 
 
6
# Note that this code needs a specialially modified form of the
 
7
# groff tmac.an macro set called tmac.anps; this macro set can be
 
8
# obtained from the download page at http://www.maradns.org/
 
9
 
 
10
if which ej2man > /dev/null 2>&1 ; then
 
11
        CMD=ej2man
 
12
elif [ -e ../../tools/ej/ej2man ] ; then
 
13
        CMD=../../tools/ej/ej2man
 
14
elif [ -e ../../../tools/ej/ej2man ] ; then
 
15
        CMD=../../../tools/ej/ej2man
 
16
else
 
17
        echo Sorry\, can not find ej2man
 
18
        exit 1
 
19
fi
 
20
        
 
21
$CMD $1 | groff -mannp -rS12 -Tps 
 
22
#$CMD $1 | groff -man -rS12 -Tps 
 
23