Bill Peck wrote:
Marian Csontos wrote:
> Bill Peck wrote:
>
>
>> James Laska wrote:
>>
>>
>>
>>> On Tue, 2009-05-26 at 09:17 -0400, Bill Peck wrote:
>>>
>>>
>>>
>>>
>>>>> # make rpm
>>>>> make: *** No rule to make target `beaker-0.4.3.tar.bz2', needed
by
>>>>> `rpm'. Stop.
>>>>>
>>>>> Not sure what's going on here, is there a missing target for
>>>>> "$(PKGNAME)-$(PKGVERSION).tar.bz2" ?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> It depends on what you want to do. You can do two things here.
>>>> snaparchive or archive.
>>>>
>>>> snaparchive will create the tarabll from your local repo. This is
>>>> what
>>>> you should do for local builds
>>>>
>>>>
>>>>
>>>>
>>> Ah I see ... nice
>>>
>>>
>>>
>>>
>>>
>>>> Wrote: /tmp/jlaska-rpm/RPMS/noarch/beaker-client-0.4.3-0.fc11.noarch.rpm
>>>> Wrote: /tmp/jlaska-rpm/RPMS/noarch/beaker-server-0.4.3-0.fc11.noarch.rpm
>>>> Wrote:
/tmp/jlaska-rpm/RPMS/noarch/beaker-lab-controller-0.4.3-0.fc11.noarch.rpm
>>>> Wrote: /tmp/jlaska-rpm/RPMS/noarch/beaker-lib-0.4.3-0.fc11.noarch.rpm
>>>>
>>>>
>>>>
>>>>
>>> Is there a way to have 'make rpm' just work without additional
commands?
>>> Perhaps having 'snaparchive' as a prerequisite? I'm not familiar
with
>>> the Makefile and .mk rules you're using, but they seem really
>>> powerful.
>>>
>>>
>>>
>>>
>>>
>> If I make rpm depend on snaparchive then won't that always run? If I've
>> done an archive I want to use that tarball.
>>
>>
>>
> I am definitely not a make master, but IMO it could work if we changed
> the makefile a bit:
> - make rpm will always rebuild the archive from actual git's workspace
> - make release will depend on snaparchive and rpm and
>
>
I think make release should depend on archive not snaparchive
Of course. a typo :-(
> - make snaparchive will be same apart from archiving part.
>
> BTW: If release is a dangerous thing, it should be made more difficult,
> thus two steps for release are fine. But two steps for testing, which
> will be used more regularly, is something to eliminate.
>
> Marian
>
>
>
_______________________________________________
Beaker-devel mailing list
Beaker-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/beaker-devel