]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix tag name in on-branch case.
authorRoland McGrath <roland@gnu.org>
Mon, 20 Dec 2004 23:15:28 +0000 (23:15 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 20 Dec 2004 23:15:28 +0000 (23:15 +0000)
fedora/Makefile

index 27aff23ef35f22c99e61663c0e6944756371bdff..1482a86e0533d9a928ed1d6a5fce9b87c9162e51 100644 (file)
@@ -17,8 +17,9 @@ on-branch = $(filter-out HEAD,$(glibc-base))
 snapshot-date := $($(glibc-branch)-sync-date)
 snapshot-name := $(shell date -u -d '$(snapshot-date)' $(snapshot-name-fmt))
 
-tar-name := glibc$(subst _,.,$(patsubst glibc-%-branch,-%,\
-                                       $(filter-out HEAD,$(glibc-base))))
+tag-name := glibc$(patsubst glibc-%-branch,-%,\
+                           $(filter-out HEAD,$(glibc-base)))
+tar-name := $(subst _,.,$(tag-name))
 select-snapshot = -r '$($(glibc-branch)-sync-tag)'
 snapshot-id = $($(glibc-branch)-sync-tag)
 
@@ -28,7 +29,7 @@ branch.mk-vars = glibc-branch glibc-base DIST_BRANCH COLLECTION
 update:
        now=`date -u $(snapshot-date-fmt)`; \
        name=`date -u -d "$$now" $(snapshot-name-fmt)`; \
-       new="$(tag-prefix)$(tar-name)-$$name"; \
+       new="$(tag-prefix)$(tag-name)-$$name"; \
        cvs -Q rtag $(if $(on-branch),-r $(glibc-base),-D "$$now") $$new libc;\
        (echo '# This file is updated automatically by Makefile.'; \
         $(foreach var,$(branch.mk-vars),\