PACKAGE = mageiawelcome VERSION = 1.15 GITPATH = git://git.mageia.org/software/mageiawelcome TEXT_FILES = Makefile DIRS = etc usr po qml i18n FILES = $(TEXT_FILES) $(DIRS) LICENSE check: /usr/bin/python3 -m pyflakes qml/*.py clean: rm -f *~ \#*\# cleandist: clean rm -fr $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.xz install: make -C po DESTDIR=$(RPM_BUILD_ROOT)/usr install dir: mkdir $(PACKAGE)-$(VERSION) localcopy: dir tar c --exclude=.git $(FILES) | tar x -C $(PACKAGE)-$(VERSION) tar: localcopy tar cvYf $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION) rm -fr $(PACKAGE)-$(VERSION) dist: cleandist dir localcopy tar