diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-06-25 21:03:13 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-06-25 21:03:13 +0000 |
commit | d008fbc1e79f32a3cf87049c5be4eb578f462eee (patch) | |
tree | 4e5e1866f2d95ca5e099ebe2cd772f1bc44ed0c9 /Makefile | |
parent | acd218d155cfec5bd5e1422ac46c00627e85092a (diff) | |
download | anaconda-d008fbc1e79f32a3cf87049c5be4eb578f462eee.tar.gz anaconda-d008fbc1e79f32a3cf87049c5be4eb578f462eee.tar.xz anaconda-d008fbc1e79f32a3cf87049c5be4eb578f462eee.zip |
use new nifty build from cvs stuff for build and snapbuild targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -103,11 +103,19 @@ src: create-archive snapsrc: create-snapshot @rpmbuild -ts --nodeps anaconda-$(VERSION).tar.bz2 -build: src - bhc $(COLLECTION) $(SRPMDIR)/anaconda-$(VERSION)-$(RELEASE).src.rpm +do-beehive-build: + @tag=`cvs status Makefile | awk ' /Sticky Tag/ { print $$3 } '` 2> /dev/null; \ + [ x"$$tag" = x"(none)" ] && tag=HEAD; \ + [ x"$$TAG" != x ] && tag=$$TAG; \ + cvsroot=`cat CVS/Root` 2>/dev/null; \ + echo "*** Building $$tag from $$cvsroot!"; \ + echo bhc $(COLLECTION) cvs://$$cvsroot?anaconda\#$$tag + +build: + make TAG=$(CVSTAG) do-beehive-build -snapbuild: snapsrc - bhc $(COLLECTION) $(SRPMDIR)/anaconda-$(VERSION)-$(SNAPRELEASE).src.rpm +snapbuild: + make do-beehive-build create-snapshot: @rm -rf /tmp/anaconda |