[Box-Admins] update 1 -- intermezzo

Tobias Pape Das.Linux at gmx.de
Wed Mar 12 16:25:48 UTC 2014


On 12.03.2014, at 17:06, Chris Cunnington <websela at yahoo.com> wrote:

> It's been brought to my attention that I've been reading the Makefile in box2 wrong. 
> This is certain, because I though the symbols were BASH. They're not. Makefile has it's own, apparently. 
> 
> cat Makefile
> 
> data.cdb: data
> 	/usr/bin/tinydns-data
> 	rm data
> 
> data: data.in cdegroot-secondary.data.in
> 	cat $? >$@
> 
> I've been concerned with the first part. 
> The second part is about this file [1] which has not been updated since 2007. I think it can be ignored. 
> Try this: 
> 
> http://www.cdegroot.com/
> 
> Though I will admit I just had to open Intro To GCC to grok how wrong I was about how Makefiles work. 
> I'm of the opinion that this part of the Makefile is legacy and can be removed. 
> 
> I have to go to an appointment and will be away for several hours. 

Well, the second rule is equivalent to 

cat data.in cdegroot-secondary.data.in > data

That is why data is deleted in the first rule, so that it always is rebuilt
and never edited manually.

Best
	-Tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1625 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.squeakfoundation.org/pipermail/box-admins/attachments/20140312/4a3b6b20/signature.pgp


More information about the Box-Admins mailing list