summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 1e81ee4f9d958257c7f4fa3e9dcb88017f0fa750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
NAME = draklive-install
VERSION = 2.1

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: dis 
dis: 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