--- Makefile.orig Sat Jan 3 19:43:20 1998 +++ Makefile Wed Jan 21 09:36:57 1998 @@ -45,13 +45,13 @@ ### you need to localize the paths on these lines #WISH = /usr/sww/tcl-8.0/bin/wish -WISH = /private/share/bin/wish -#WISH = /usr/local/bin/wish8.0 +#WISH = /private/share/bin/wish +WISH = ${PREFIX}/bin/wish8.0 # the executable `tkman' is placed in BINDIR # this should be a directory that's in your bin PATH -BINDIR = /private/share/bin -#BINDIR = /usr/local/bin +#BINDIR = /private/share/bin +BINDIR = ${PREFIX}/bin # OPTIONAL @@ -61,14 +61,14 @@ # This directory should not have any Texinfo source itself. # More information is given in tkman-help.html # if you don't have Texinfo files, leave this variable empty -texinfodir = "" +texinfodir = ${PREFIX}/info #texinfodir = /home/orodruin/h/bair/phelps/spine/tkman/info #texinfodir = /usr/local/info # In order to search within Texinfo files you need the GNU gzgrep, # which can search within compressed files. This should drive a version # of GNU grep (or gzgrep, if you'll be searching in compressed files) # such as 2.1, for which the -b (report byte offset) switch works. -gzgrep = "" +gzgrep = /usr/bin/zgrep #gzgrep = gzgrep #gzgrep = "gzgrep -w" @@ -94,10 +94,12 @@ # will examine for matches if a search in the usual locations fails while searching # for a man pages and displaying its associated binaries (if any). # Use this feature carefully as a large number of directories can slow down startup. -mastermen = "/usr/man /usr/local/man" +#mastermen = "/usr/man /usr/local/man" #mastermen = "/usr/man /usr/local/man /usr/sww/man /usr/share/man /usr/kerberos/man" -masterbin = "/usr/bin /usr/local/bin" +mastermen = "${PREFIX}/man /usr/share/man ${X11BASE}/man" +#masterbin = "/usr/bin /usr/local/bin" #masterbin = "/usr/bin /usr/local/bin /usr/sww/bin /usr/sww/share/bin /usr/sww/share/X11R5/bin" +masterbin = "/usr/bin ${PREFIX}/bin ${X11BASE}/bin" # names of common printers, in addition to default printer (PRINTER or LPDEST) @@ -127,11 +129,11 @@ # lines are cached in .../man/cat@; # that is, the line length is appended to the usual cache directory names #manformat = {groff -te -Tascii -man /tmp/ll - 2>/dev/null} -manformat = {groff -te -Tlatin1 -man /tmp/ll - 2>/dev/null} +#manformat = {groff -te -Tlatin1 -man /tmp/ll - 2>/dev/null} # Ultrix users should uncomment the following line (you don't have eqn) #manformat = {tbl | nroff -man } # BSD macros (.Sh, .Ss, .PP, ...) call for -mandoc -#manformat = {groff -Tascii -te -mandoc} +manformat = {groff -Tascii -te -mandoc} # BSDI #manformat = {tbl | eqn -Tascii | nroff -man } @@ -165,7 +167,7 @@ # pick a printing pipeline for which your platform has all the constituants -manprint = {groff -man -Tps -te -l} +manprint = {groff -mandoc -Tps -te -l} # alternatives #manprint = {tbl | eqn | troff -man -t | lpr -t} #manprint = {tbl | eqn | psroff -man} @@ -201,7 +203,7 @@ # Check contrib/glimpse4-fix.txt for a bug fix patch for glimpseindex. # BY DEFAULT ON (Boolean scope set to entire file) -glimpse = "glimpse -W" +#glimpse = "glimpse -W" # IF YOU DON'T WANT TO BOTHER WITH GLIMPSE, you can disable it here #glimpse = "" # give the full path, if you'd like @@ -209,6 +211,7 @@ # variations (refer to the Glimpse manual page) # no characters treated as meta characters: #glimpse = "glimpse -Wk" +glimpse = "glimpse -z" # glimpseindex indexes the manual pages, for each component of one's MANPATH, # and places the results in a set of files named .glimpse_* in that MANPATH @@ -250,7 +253,7 @@ # default MANPATH to use if user doesn't have a MANPATH environment variable set. # Leave this empty to have TkMan calculate a MANPATH based on a users PATH # (like Perl man does). -manpathdef = "" +manpathdef = /usr/share/man:${PREFIX}/man:/usr/X11R6/man #manpathdef = /usr/man:/usr/local/man #manpathdef = /usr/man:/usr/local/man:/usr/sww/man:/usr/sww/X11/man # for SGI @@ -453,8 +456,8 @@ chmod +rx $(BINDIR)/tkman $(CP) retkman $(BINDIR) chmod +rx $(BINDIR)/retkman - @echo 'You also need RosettaMan to run TkMan.' - @echo 'Have you installed the elided text patch to Tk?' +# @echo 'You also need RosettaMan to run TkMan.' +# @echo 'Have you installed the elided text patch to Tk?' test: dox tkman cp tkman $(BINDIR)