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:
		
							parent
							
								
									f17e3c34df
								
							
						
					
					
						commit
						f1f8df1889
					
				| 
						 | 
					@ -34,6 +34,7 @@ MANDEFS = \
 | 
				
			||||||
	-D__miscmansuffix__=$(MISC_MAN_SUFFIX) \
 | 
						-D__miscmansuffix__=$(MISC_MAN_SUFFIX) \
 | 
				
			||||||
	-D__drivermansuffix__=$(DRIVER_MAN_SUFFIX) \
 | 
						-D__drivermansuffix__=$(DRIVER_MAN_SUFFIX) \
 | 
				
			||||||
	-D__adminmansuffix__=$(ADMIN_MAN_SUFFIX) \
 | 
						-D__adminmansuffix__=$(ADMIN_MAN_SUFFIX) \
 | 
				
			||||||
 | 
						-D__mandir__=$(mandir) \
 | 
				
			||||||
	-D__projectroot__=$(prefix) \
 | 
						-D__projectroot__=$(prefix) \
 | 
				
			||||||
	-D__xconfigfile__=$(__XCONFIGFILE__) -D__xconfigdir__=$(XCONFIGDIR) \
 | 
						-D__xconfigfile__=$(__XCONFIGFILE__) -D__xconfigdir__=$(XCONFIGDIR) \
 | 
				
			||||||
	-D__xlogfile__=$(XLOGFILE) -D__xservername__=$(XSERVERNAME) 
 | 
						-D__xlogfile__=$(XLOGFILE) -D__xservername__=$(XSERVERNAME) 
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -580,7 +580,7 @@ Client error message database.
 | 
				
			||||||
.B __projectroot__/lib/X11/app-defaults/\(**
 | 
					.B __projectroot__/lib/X11/app-defaults/\(**
 | 
				
			||||||
Client resource specifications.
 | 
					Client resource specifications.
 | 
				
			||||||
.TP 30
 | 
					.TP 30
 | 
				
			||||||
.B __projectroot__/man/man?/\(**
 | 
					.B __mandir__/man?/\(**
 | 
				
			||||||
Manual pages.
 | 
					Manual pages.
 | 
				
			||||||
.TP 30
 | 
					.TP 30
 | 
				
			||||||
.BI /etc/X n .hosts
 | 
					.BI /etc/X n .hosts
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue