aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-08-10 20:29:37 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-08-10 20:29:37 +0100
commit1a32fe9c80c63587d2ef639c698649911f35e846 (patch)
tree1a19124b3b43c7eb623cc4a6e82e5f8d0267834c
parentd5a9c00d5c161169ea5a997d59056eac41a2bfba (diff)
downloadcommon-data-1a32fe9c80c63587d2ef639c698649911f35e846.tar
common-data-1a32fe9c80c63587d2ef639c698649911f35e846.tar.gz
common-data-1a32fe9c80c63587d2ef639c698649911f35e846.tar.bz2
common-data-1a32fe9c80c63587d2ef639c698649911f35e846.tar.xz
common-data-1a32fe9c80c63587d2ef639c698649911f35e846.zip
Update git tag generation for Mageia conventions.
-rw-r--r--Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 2e368dc..dcacb0e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,6 @@
VERSION = 6.11
PACKAGE = desktop-common-data
NAME = desktop-common-data
-TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
mandir=/usr/share/man
menus: applications.menu plasma-applications.menu
@@ -29,10 +28,6 @@ checktag:
exit 1 ; \
fi ; \
fi
- @if [ "x$(VERSION)" == "x" -o "x$(RELEASE)" = "x" ]; then \
- echo usage is "make VERSION=version_number RELEASE=release_number dist" ; \
- exit 1 ; \
- fi
clean:
find . -type d -name '.xvpics' -o -name '*~' |xargs rm -rf
@@ -45,4 +40,4 @@ dist: menus checktag clean
$(info $(NAME)-$(VERSION).tar.xz is ready)
tag: checktag
- git tag $(TAG); \
+ git tag $(VERSION); \