diff options
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 |