summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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