PACKAGE = mageiawelcome VERSION = 2.25 GITPATH = git://git.mageia.org/software/mageiawelcome TEXT_FILES = Makefile DIRS = etc usr po qml i18n 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 *~ \#*\# cleandist: clean rm -fr $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz install: version make -C po DESTDIR=$(RPM_BUILD_ROOT)/usr install tar: version git archive --prefix $(PACKAGE)-$(VERSION)/ $(VERSION) | xz -9 > $(PACKAGE)-$(VERSION).tar.xz dist: version tar