common Makefile.common,1.5,1.6
Jeremy Katz (katzj)
fedora-extras-commits at redhat.com
Tue Mar 29 19:36:51 UTC 2005
Author: katzj
Update of /cvs/extras/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19938
Modified Files:
Makefile.common
Log Message:
add tag target
Index: Makefile.common
===================================================================
RCS file: /cvs/extras/common/Makefile.common,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Makefile.common 3 Mar 2005 20:02:52 -0000 1.5
+++ Makefile.common 29 Mar 2005 19:36:49 -0000 1.6
@@ -276,6 +276,13 @@
verrel:
@echo $(NAME)-$(VERSION)-$(RELEASE)
+# If you build a new version into the tree, first do "make tag",
+# then "make srpm", then build the package.
+tag:: $(SPECFILE)
+ cvs tag $(TAG_OPTS) -c $(TAG)
+ @echo "Tagged with: $(TAG)"
+ @echo
+
# "make new | less" to see what has changed since the last tag was assigned
new:
- at cvs diff -u -r$$(cvs log Makefile 2>/dev/null | awk '/^symbolic names:$$/ {getline; sub(/^[ \t]*/, "") ; sub (/:.*$$/, ""); print; exit 0}')
More information about the scm-commits
mailing list