From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 16:14:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57C2316A41C for ; Sat, 9 Jul 2005 16:14:05 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id C14BA43D46 for ; Sat, 9 Jul 2005 16:14:04 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id E12FE5D62; Sat, 9 Jul 2005 12:14:03 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54959-02; Sat, 9 Jul 2005 12:13:54 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-54-113.ny325.east.verizon.net [68.161.54.113]) by pi.codefab.com (Postfix) with ESMTP id 5307A5C54; Sat, 9 Jul 2005 12:13:54 -0400 (EDT) Message-ID: <42CFF7C6.1010806@mac.com> Date: Sat, 09 Jul 2005 12:13:58 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Philip M. Gollucci" References: <42CF8DB8.1050006@p6m7g8.com> In-Reply-To: <42CF8DB8.1050006@p6m7g8.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: 'BSD' make vs gmake on FBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 16:14:05 -0000 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