-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
66 lines (55 loc) · 947 Bytes
/
Makefile
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
DESTDIR ?= /
PACKAGE_LOCALE_DIR ?= /usr/share/locale
TOOLS = clocksetup \
keyboardsetup \
localesetup \
netsetup \
reposetup \
service \
servicesetup \
update-all \
usersetup
export DESTDIR PACKAGE_LOCALE_DIR
.PHONY: all
all: man mo
.PHONY: mo
mo:
for i in $(TOOLS); do \
$(MAKE) mo -C $$i; \
done
.PHONY: man
man:
for i in $(TOOLS); do \
$(MAKE) man -C $$i; \
done
.PHONY: clean
clean:
for i in $(TOOLS); do \
$(MAKE) clean -C $$i; \
done
.PHONY: install
install:
for i in $(TOOLS); do \
$(MAKE) install -C $$i; \
done
install -m 644 salix-version $(DESTDIR)/usr/share/salixtools/
.PHONY: pot
pot:
for i in $(TOOLS); do \
$(MAKE) pot -C $$i; \
done
.PHONY: update-po
update-po:
for i in $(TOOLS); do \
$(MAKE) update-po -C $$i; \
done
.PHONY: tx-pull
tx-pull:
for i in $(TOOLS); do \
$(MAKE) tx-pull -C $$i; \
done
.PHONY: stat
stat:
for i in $(TOOLS); do \
$(MAKE) stat -C $$i; \
done