Use $prefix & $ICONDIR settings from configure for default path in manpage

(Stop hardcoding /usr/X11R6 & /usr/share in the paths shown.)
This commit is contained in:
Alan Coopersmith 2006-10-06 16:44:37 -07:00
parent f591196271
commit 932965298c
2 changed files with 3 additions and 3 deletions

View file

@ -15,4 +15,4 @@ XORGRELSTRING = @PACKAGE_STRING@
.man.$(LIB_MAN_SUFFIX):
-rm -f $@
sed 's/__xorgversion__/"$(XORGRELSTRING)"/; s/__LIB_MAN_SUFFIX__/$(LIB_MAN_SUFFIX)/' < $< > $@
sed 's/__xorgversion__/"$(XORGRELSTRING)"/; s/__LIB_MAN_SUFFIX__/$(LIB_MAN_SUFFIX)/; s%__prefix__%$(prefix)%g; s%__ICONDIR__%$(ICONDIR)%g' < $< > $@

View file

@ -142,8 +142,8 @@ Images look like:
.SS THEMES
Xcursor (mostly) follows the freedesktop.org spec for theming icons. The
default search path it uses is $HOME/.icons, /usr/share/icons,
/usr/share/pixmaps, /usr/X11R6/lib/X11/icons. Within each of these
default search path it uses is $HOME/.icons, __prefix__/share/icons,
__prefix__/share/pixmaps, __ICONDIR__. Within each of these
directories, it searches for a directory using the theme name. Within the
theme directory, it looks for cursor files in the 'cursors' subdirectory.
It uses the first cursor file found along the path.