summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-06-25 21:03:13 +0000
committerJeremy Katz <katzj@redhat.com>2004-06-25 21:03:13 +0000
commitd008fbc1e79f32a3cf87049c5be4eb578f462eee (patch)
tree4e5e1866f2d95ca5e099ebe2cd772f1bc44ed0c9 /Makefile
parentacd218d155cfec5bd5e1422ac46c00627e85092a (diff)
downloadanaconda-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--Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 23b4ff0ef..eef33d603 100644
--- a/Makefile
+++ b/Makefile
@@ -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