common Makefile.common,1.51,1.52

Mike Bonnet (mikeb) fedora-extras-commits at redhat.com
Thu May 3 21:37:30 UTC 2007


Author: mikeb

Update of /cvs/pkgs/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1166

Modified Files:
	Makefile.common 
Log Message:
add force-tag and test-srpm targets for consistency


Index: Makefile.common
===================================================================
RCS file: /cvs/pkgs/common/Makefile.common,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- Makefile.common	3 May 2007 19:11:07 -0000	1.51
+++ Makefile.common	3 May 2007 21:36:56 -0000	1.52
@@ -139,7 +139,7 @@
 PREP_ARCHES	= $(addprefix prep-,$(ARCHES))
 
 ## list all our bogus targets
-.PHONY :: $(ARCHES) sources uploadsource upload export check build-check plague koji build test-srpm real-srpm srpm tag verrel new clean patch prep compile install-short compile-short FORCE
+.PHONY :: $(ARCHES) sources uploadsource upload export check build-check plague koji build test-srpm srpm tag force-tag verrel new clean patch prep compile install-short compile-short FORCE
 
 # The TARGETS define is meant for local module targets that should be
 # made in addition to the SOURCEFILES whenever needed
@@ -317,6 +317,8 @@
 srpm: sources $(TARGETS)
 	$(RPM_WITH_DIRS) $(DIST_DEFINES) --nodeps -bs $(SPECFILE)
 
+test-srpm: srpm
+
 verrel:
 	@echo $(NAME)-$(VERSION)-$(RELEASE)
 
@@ -327,6 +329,9 @@
 	@echo "Tagged with: $(TAG)"
 	@echo
 
+force-tag: $(SPECFILE) $(COMMON_DIR)/branches
+	@$(MAKE) tag TAG_OPTS="-F $(TAG_OPTS)"
+
 define find-user
 if [ `cat CVS/Root |grep -c [^:]@` -ne 0 ]; then cat CVS/Root  |cut -d @ -f 1 |  sed 's/:.*://' ; else echo $(USER); fi
 endef




More information about the fedora-extras-commits mailing list