incubator-bigtop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Mahé <bm...@apache.org>
Subject Re: Abstracting the build logic in rules/spec files
Date Fri, 16 Sep 2011 20:32:16 GMT
On 09/16/2011 01:12 PM, Andrew Bayer wrote:
> So we already abstract away copying the bits into place for the packages via
> bigtop-packages/src/common/foo/install_foo.sh. But we're not as of yet
> abstracting the build logic - as a result, we're duplicating the build calls
> in both the Debian rules files and the RPM spec files. I don't like
> duplication. =) So I'd like to propose moving the build logic for the
> components into shell scripts akin to the install_foo.sh scripts, in the
> common area, which would then be called in the rules/specs. Does this sound
> reasonable to everyone?
>
> A.
>

It works for me.
Generalizing a template would also be most helpful.

Mime
View raw message