Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Jul 2005 12:13:58 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 'BSD' make vs gmake on FBSD
Message-ID:  <42CFF7C6.1010806@mac.com>
In-Reply-To: <42CF8DB8.1050006@p6m7g8.com>
References:  <42CF8DB8.1050006@p6m7g8.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Philip M. Gollucci wrote:
> In libapreq2, FreeBSD users must use gmake mainly because of only 2 
> makefile rules like the following:
> 
> %.html: $(POD_DIR)/%.pm
> 
> What's the easiest way to duplicate this behavior under (F)BSD make ?

You could add .html and .pm to .SUFFIXES, and create a suffix rule which does 
whatever it takes to build the html from to pm files....

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42CFF7C6.1010806>