summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy C. Reed <reed@glacier.reedmedia.net>2006-12-08 15:51:44 -0600
committerJeremy C. Reed <reed@glacier.reedmedia.net>2006-12-08 15:51:44 -0600
commitf1f8df1889ab656bb57596e2f85408f15f42cd5d (patch)
treecff86ec09d8025a1ba12b49c09e0bdd263bb5aa9
parentf17e3c34dfd1f1418440bdebf45764e4dbf550f0 (diff)
For MANDEFS, also replace __mandir__ for $(mandir) which includes
the prefix. Noticed wrong path to man pages on both Ubuntu and on NetBSD with pkgsrc.
-rw-r--r--cpprules.in1
-rw-r--r--hw/xfree86/doc/man/Xorg.man.pre2
2 files changed, 2 insertions, 1 deletions
diff --git a/cpprules.in b/cpprules.in
index 667b13322..4901ea890 100644
--- a/cpprules.in
+++ b/cpprules.in
@@ -34,6 +34,7 @@ MANDEFS = \
-D__miscmansuffix__=$(MISC_MAN_SUFFIX) \
-D__drivermansuffix__=$(DRIVER_MAN_SUFFIX) \
-D__adminmansuffix__=$(ADMIN_MAN_SUFFIX) \
+ -D__mandir__=$(mandir) \
-D__projectroot__=$(prefix) \
-D__xconfigfile__=$(__XCONFIGFILE__) -D__xconfigdir__=$(XCONFIGDIR) \
-D__xlogfile__=$(XLOGFILE) -D__xservername__=$(XSERVERNAME)
diff --git a/hw/xfree86/doc/man/Xorg.man.pre b/hw/xfree86/doc/man/Xorg.man.pre
index b7fa990bb..d91b79641 100644
--- a/hw/xfree86/doc/man/Xorg.man.pre
+++ b/hw/xfree86/doc/man/Xorg.man.pre
@@ -580,7 +580,7 @@ Client error message database.
.B __projectroot__/lib/X11/app-defaults/\(**
Client resource specifications.
.TP 30
-.B __projectroot__/man/man?/\(**
+.B __mandir__/man?/\(**
Manual pages.
.TP 30
.BI /etc/X n .hosts