/[man-db]/man-db/man/Makefile.in
ViewVC logotype

Diff of /man-db/man/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by cjwatson, Sun Apr 6 23:05:10 2003 UTC revision 1.13 by cjwatson, Tue Oct 28 16:25:27 2003 UTC
# Line 37  catman := $(catman) Line 37  catman := $(catman)
37  manpath := $(manpath)  manpath := $(manpath)
38  zsoelim := $(zsoelim)  zsoelim := $(zsoelim)
39    
40    # capitalized variants for .TH lines
41    thman := $(shell echo '$(man)' | tr '[:lower:]' '[:upper:]')
42    thmandb := $(shell echo '$(mandb)' | tr '[:lower:]' '[:upper:]')
43    thwhatis := $(shell echo '$(whatis)' | tr '[:lower:]' '[:upper:]')
44    thapropos := $(shell echo '$(apropos)' | tr '[:lower:]' '[:upper:]')
45    thcatman := $(shell echo '$(catman)' | tr '[:lower:]' '[:upper:]')
46    thmanpath := $(shell echo '$(manpath)' | tr '[:lower:]' '[:upper:]')
47    thzsoelim := $(shell echo '$(zsoelim)' | tr '[:lower:]' '[:upper:]')
48    
49  # looks like a nice place to define a `canned' command sequence.  # looks like a nice place to define a `canned' command sequence.
50  define process_manpage  define process_manpage
51  sed -e 's,%pager%,$(pager),g' \  sed -e 's,%pager%,$(pager),g' \
# Line 50  sed -e 's,%pager%,$(pager),g' \ Line 59  sed -e 's,%pager%,$(pager),g' \
59      -e 's,%catman%,$(catman),g' \      -e 's,%catman%,$(catman),g' \
60      -e 's,%apropos%,$(apropos),g' \      -e 's,%apropos%,$(apropos),g' \
61      -e 's,%whatis%,$(whatis),g' \      -e 's,%whatis%,$(whatis),g' \
62        -e 's,%thzsoelim%,$(thzsoelim),g' \
63        -e 's,%thman%,$(thman),g' \
64        -e 's,%thmandb%,$(thmandb),g' \
65        -e 's,%thmanpath%,$(thmanpath),g' \
66        -e 's,%thcatman%,$(thcatman),g' \
67        -e 's,%thapropos%,$(thapropos),g' \
68        -e 's,%thwhatis%,$(thwhatis),g' \
69      -e 's,%manpath_config_file%,$(config_file),g' \      -e 's,%manpath_config_file%,$(config_file),g' \
70  $< > $@  $< > $@
71  endef  endef

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26