From owner-freebsd-hackers Wed Nov 11 19:11:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA13439 for freebsd-hackers-outgoing; Wed, 11 Nov 1998 19:11:11 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gershwin.tera.com ([207.224.230.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA13431 for ; Wed, 11 Nov 1998 19:11:09 -0800 (PST) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (tao.tera.com [207.108.223.55]) by gershwin.tera.com (8.8.8/8.8.8) with ESMTP id TAA01301 for ; Wed, 11 Nov 1998 19:10:50 -0800 (PST) Received: (from kline@localhost) by tao.thought.org (8.8.8/8.7.3) id TAA03072 for hackers@freebsd.org; Wed, 11 Nov 1998 19:10:38 -0800 (PST) From: Gary Kline Message-Id: <199811120310.TAA03072@tao.thought.org> Subject: bsd make to gnu make conversion, anyone?? To: hackers@FreeBSD.ORG (Hackers Mailing List) Date: Wed, 11 Nov 1998 19:10:38 -0800 (PST) Organization: <> thought.org: public access uNix in service... <> X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Are there any makefile senior Wizards out there who can clue me in on the translation of this pmake LANGS= en_US.ISO_8859-1 fr_FR.ISO_8859-1 de_DE.ISO_8859-1 FILES= ${LANGS:S/$/.mv.cat/} CLEANFILES+= ${FILES} . . . for lang in ${LANGS} ${lang}.mv.cat: ${.CURDIR}/nls/${lang}/mv.msg gencat -new ${.TARGET} ${.ALLSRC} .endfor beforeinstall: .for lang in ${LANGS} ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ ${lang}.mv.cat ${DESTDIR}${NLSDIR}/${lang}/mv.cat .endfor into gnu make style? I'd be much obliged for any tips. (I'm close--to the point where I'm using bin/sh code and $$var for most of the variables. But wondering, hoping, that there is a less contorted way.) Thanks, gary -- Gary D. Kline kline@tao.thought.org Public service uNix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message