From: j8takagi Date: Sat, 3 Nov 2012 04:43:15 +0000 (+0900) Subject: make gittagコマンドの追加 X-Git-Tag: 0.2p3 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff9e019a212933893379070f7c912f5ab84c57fa;p=YACASL2.git make gittagコマンドの追加 --- diff --git a/Makefile b/Makefile index 80fe0ca..60e271e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all build gtags check doc info html doc-inner install uninstall install-info uninstall-info install-casl2lib uninstall-casl2lib version clean clean-src clean-gtags clean-test clean-doc clean-doc-inner +.PHONY: all build gtags check doc info html doc-inner install uninstall install-info uninstall-info install-casl2lib uninstall-casl2lib version gittag clean clean-src clean-gtags clean-test clean-doc clean-doc-inner GTAGS := gtags RMF := rm -f @@ -7,6 +7,8 @@ ECHO := echo INSTALL := install SED := sed CAT := cat +XARGS := xargs +GITTAG := git tag prefix ?= ~ bindir ?= $(prefix)/bin @@ -61,6 +63,9 @@ version: VERSION $(VERSIONFILES) $(VERSIONFILES): VERSION $(SED) -e "s/@@VERSION@@/`cat VERSION`/g" $@.version >$@ +gittag: VERSION + $(CAT) $@ | $(XARGS) $(GITTAG) + clean: clean-src clean-gtags clean-doc clean-doc-inner clean-version clean-src: