NAME = draklive-install VERSION = 2.20 dli_confdir = ${sysconfdir}/$(NAME).d dli_sysconfigdir = $(dli_confdir)/sysconfig all: mageia-draklive-install.desktop draklive-install.desktop make -C po install: install -d $(dli_sysconfigdir) make -C po install dist: clean @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz; $(info $(NAME)-$(VERSION).tar.xz is ready) check: perl -cw $(NAME) clean: make -C po clean find -name '*~' -exec rm {} \; %.desktop: %.desktop.in intltool-merge --utf8 po \$< \$@ -d -u -c intltool-merge-cache