RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Converting *.spec to Makefiles

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 09 Sep 2008 - 16:35:02 CEST
Message-id: <6472D21D-CE7B-41CF-8737-74494CF31D6D@mac.com>

On Sep 9, 2008, at 3:28 AM, Anders F Björklund wrote:
>
> GNU Make even competes with itself, I have at least a few items  
> requiring
> me to use "MAKE=make-3.81" because the system one wouldn't cut it  
> anymore.
>
> BSD Make isn't fully "compatible" either, but you can usually make  
> a file
> that works in both... (Same thing goes for GNU sh by the way, vs.  
> BSD sh)
>

Sure there are dialects of make. There is a subset syntax that is  
well supported
by make(1), that is all that is being suggested using --queryformat -- 
specsrpm against
*.spec to extract a make rule from a rpm tag without macros or other  
goopiness.
>

> PS.
> 1.1M    make-3.81.tar.bz2
>  28K    bee-0.4.0.gem
>

Hmmm ...

[jjohnso1@localhost dist]$ ls -al /bin/{true,false}
-rwxr-xr-x 1 root root 29908 2008-08-04 08:47 /bin/false
-rwxr-xr-x 1 root root 29908 2008-08-04 08:47 /bin/true

Which application should I prefer if they are both the same size?

73 de Jeff
Received on Tue Sep 9 16:38:05 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.