summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-04-13 17:31:15 +0200
committerPapoteur <papoteur@mageia.org>2019-04-13 17:31:15 +0200
commit5ff5840cab59b3d19dc2e6972ed41a3f7b6a8af6 (patch)
tree9a00157f99b09852c0cfb192cc44c1e77b28d06e /Makefile
parent09851e0e61bd6681170b803e9bac665d6a765b66 (diff)
parent653231531296b2854199a21a82401ec9a02cd2f1 (diff)
downloadmageiawelcome-5ff5840cab59b3d19dc2e6972ed41a3f7b6a8af6.tar
mageiawelcome-5ff5840cab59b3d19dc2e6972ed41a3f7b6a8af6.tar.gz
mageiawelcome-5ff5840cab59b3d19dc2e6972ed41a3f7b6a8af6.tar.bz2
mageiawelcome-5ff5840cab59b3d19dc2e6972ed41a3f7b6a8af6.tar.xz
mageiawelcome-5ff5840cab59b3d19dc2e6972ed41a3f7b6a8af6.zip
Merge branch 'master' into topic/mga6
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 59f8986..893396b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,21 @@
PACKAGE = mageiawelcome
-VERSION = 1.18mga6
+VERSION = 1.96mga6
GITPATH = git://git.mageia.org/software/mageiawelcome
TEXT_FILES = Makefile
DIRS = etc usr po qml i18n
-FILES = $(TEXT_FILES) $(DIRS) LICENSE *.pro
+FILES = $(TEXT_FILES) $(DIRS) LICENSE *.pro setup.py
check:
/usr/bin/python3 -m pyflakes qml/*.py
-
+
+version:
+ echo "version='$(VERSION)'" > version.py
+ echo "import QtQuick 2.0" >qml/Version.qml
+ echo "Item { property var version: '$(VERSION)';}" >>qml/Version.qml
+
clean:
rm -f *~ \#*\#
@@ -30,4 +35,4 @@ tar: localcopy
tar cvYf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
rm -fr $(PACKAGE)-$(VERSION)
-dist: cleandist dir localcopy tar
+dist: cleandist version dir localcopy tar