devel/common Makefile.common,1.26,1.27
Jeremy Katz (katzj)
fedora-extras-commits at redhat.com
Fri Jul 29 03:41:31 UTC 2005
Author: katzj
Update of /cvs/extras/devel/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13361
Modified Files:
Makefile.common
Log Message:
add a make plague target... this will be what make build does soon...
Index: Makefile.common
===================================================================
RCS file: /cvs/extras/devel/common/Makefile.common,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- Makefile.common 28 Jun 2005 17:02:52 -0000 1.26
+++ Makefile.common 29 Jul 2005 03:41:29 -0000 1.27
@@ -324,6 +324,14 @@
cvs commit -m "request build of $(CVS_REPOSITORY) $(TAG) for $(TARGET)" tobuild ;\
popd >/dev/null)
+plague: $(COMMON_DIR)/branches
+ @if [ ! -x /usr/bin/plague-client ]; then echo "Must have plague-client installed"; exit 1; fi
+ @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
+ /usr/bin/plague-client build $(NAME) $(TAG) $(TARGET)
+
# "make new | less" to see what has changed since the last tag was assigned
new:
More information about the fedora-extras-commits
mailing list