X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id 1D310DC00B9 for ; Mon, 8 Jul 2013 13:10:07 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id 4772ABC296A; Mon, 8 Jul 2013 13:10:05 +0000 (UTC) Date: Mon, 8 Jul 2013 15:09:56 +0200 From: Natanael Copa To: Dubiousjim Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] patch and 2 questions for alpine-conf repo Message-ID: <20130708150956.6750ab71@ncopa-desktop.alpinelinux.org> In-Reply-To: References: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.17; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 5 Jul 2013 00:46:10 -0400 Dubiousjim wrote: > Thanks for applying the alpine-conf patches I sent the other day, but this is still > needed to clean up the VERSION reference. (Sorry for sending the bad patch in the first place here.) No problem. We expect high quality, but not perfectionism. Thanks for fixing it. > Also: > > Q1. Like abuild, I notice this Makefile also has a "dist" target. Might we still use that? If not should we purge it? We purge it. > Q2. There's also a funny extension target, for the extension ".sh.in.sh". Is that correct, or a typo? > > The abuild repo's Makefile has: > > .SUFFIXES: .sh.in .in > %.sh: %.sh.in > ${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@ > ${CHMOD} +x $@ > > %: %.in > ${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@ > ${CHMOD} +x $@ > > which makes natural sense. Whereas alpine-conf's Makefile has: > > .SUFFIXES: .sh.in .in > .sh.in.sh: > ${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@ > > .in: > ${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@ > > On the face of it, those rules look screwy, but maybe there's some (overly?) clever > Makefile-fu going on here that I haven't divined. It is old fashioned suffix rules that are obsolete. We should use former. http://www.gnu.org/software/make/manual/make.html#Suffix-Rules > > > Dubiousjim (1): > update-conf: fix version > > update-conf.in | 2 ++ > 1 file changed, 2 insertions(+) > applied that. thanks! --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---