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.
Maybe we can have it print some directions if the archive is missing?
Any Make masters here?
> archive will tag and sync to master. Don't do this unless
you are
> making a release.
>
Oops, yeah that could be scary :)
Thanks,
James
------------------------------------------------------------------------
_______________________________________________
Beaker-devel mailing list
Beaker-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/beaker-devel