Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 1998 19:10:38 -0800 (PST)
From:      Gary Kline <kline@tao.thought.org>
To:        hackers@FreeBSD.ORG (Hackers Mailing List)
Subject:   bsd make to gnu make conversion, anyone??
Message-ID:  <199811120310.TAA03072@tao.thought.org>

next in thread | raw e-mail | index | archive | help



   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



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