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.
This commit is contained in:
Jeremy C. Reed 2006-12-08 15:51:44 -06:00
parent f17e3c34df
commit f1f8df1889
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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