Subject: Re: Makefile structure in htdocs
To: None <>
From: Klaus Heinz <>
List: netbsd-docs
Date: 10/09/2005 14:56:09
Roland Illig wrote:

 [ weirdness ]

IMO, inclusion of all those files is not necessary at all.
The last time I looked at this I could not find any useful content for apart from pkgsrc/ and pkgsrc/??/

Just set WEB_PREFIX and include the appropriate top-level
For de/errors/Makefile this would look like:

  WEB_PREFIX?=    ${.CURDIR}/../..
  .include "${WEB_PREFIX}/de/"

> The top-level "" should then include 
> "${WEB_PREFIX}/share/mk/".

> That way we can make sure that the toplevel "" is included 
> in each subdirectory. Another simplification would be that the top-level 
> "" has the following code:

Both should work with my proposal as well.