devel/common Makefile.common,1.25,1.26
Jeremy Katz (katzj)
fedora-extras-commits at redhat.com
Tue Jun 28 17:02:54 UTC 2005
Author: katzj
Update of /cvs/extras/devel/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12252
Modified Files:
Makefile.common
Log Message:
check for a tag before allowing the build to continue (#161844)
Index: Makefile.common
===================================================================
RCS file: /cvs/extras/devel/common/Makefile.common,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- Makefile.common 20 Jun 2005 17:05:37 -0000 1.25
+++ Makefile.common 28 Jun 2005 17:02:52 -0000 1.26
@@ -313,6 +313,10 @@
build: $(COMMON_DIR)/branches
@if [ -z "$(TARGET)" -a ! -d CVS ]; then echo "Must be in a branch subdirectory"; exit 1; fi
+
+ @cvs status -v $(SPECFILE) 2>/dev/null | grep -q $(TAG); ret=$$? ;\
+ if [ $$ret -ne 0 ]; then echo "$(SPECFILE) not tagged with tag $(TAG)"; exit 1; fi
+
@(pushd $(COMMON_DIR) >/dev/null ;\
rm -f tobuild ;\
cvs -Q update -C tobuild ;\
More information about the fedora-extras-commits
mailing list