-.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
INSTALL := install
SED := sed
CAT := cat
+XARGS := xargs
+GITTAG := git tag
prefix ?= ~
bindir ?= $(prefix)/bin
$(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: