summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-10-06 16:44:37 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-10-06 16:44:37 -0700
commit932965298c244553f303fab3bdf23941cc40bb23 (patch)
treec3a4e5817bbad89c8e6d0a5939f6f46de631dd3c
parentf591196271e53c64e27cf41e5b6ae844a480cb3d (diff)
Use $prefix & $ICONDIR settings from configure for default path in manpage
(Stop hardcoding /usr/X11R6 & /usr/share in the paths shown.)
-rw-r--r--man/Makefile.am2
-rw-r--r--man/Xcursor.man4
2 files changed, 3 insertions, 3 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 267572d..725a676 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -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' < $< > $@
diff --git a/man/Xcursor.man b/man/Xcursor.man
index 3e7d72e..fd39be8 100644
--- a/man/Xcursor.man
+++ b/man/Xcursor.man
@@ -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.