summaryrefslogtreecommitdiff
path: root/cpprules.in
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 /cpprules.in
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.
Diffstat (limited to 'cpprules.in')
-rw-r--r--cpprules.in1
1 files changed, 1 insertions, 0 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)