aboutsummaryrefslogtreecommitdiffstats
path: root/po/Makefile
blob: d62bb791ff6d43ca189fd790addd748cfb19b27b (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
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# Copyright (C) 2013 THE isodumper'S COPYRIGHT HOLDER
# This file is distributed under the same license as the isodumper package.

# This Makefile is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

# Author isodumper software= papoteur <papoteur@mageialinux-online.org>
# Author Makefile file= Geiger David <david.david@mageialinux-online.org>

PREFIX=/usr
BINDIR=$(PREFIX)/bin
SBINDIR=$(PREFIX)/sbin
LIBDIR=$(PREFIX)/lib
LIBEXECDIR=$(PREFIX)/libexec
DATADIR=$(PREFIX)/share
LOCALEDIR=$(PREFIX)
BINDEST = $(DESTDIR)$(BINDIR)
POFILES = po

all: formatting clean compile

clean:
	rm -f  *.po~

formatting: all

	# formatting all isodumper.po files
	#(just add to the list the available language or comment the unavailable language)
	cd ../tools && sh po-update.sh ast
	cd ../tools && sh po-update.sh ca
	cd ../tools && sh po-update.sh cs
	cd ../tools && sh po-update.sh da
	cd ../tools && sh po-update.sh de
	cd ../tools && sh po-update.sh el
	cd ../tools && sh po-update.sh en_GB
	cd ../tools && sh po-update.sh es
	cd ../tools && sh po-update.sh et
	cd ../tools && sh po-update.sh eu
	cd ../tools && sh po-update.sh fr
	cd ../tools && sh po-update.sh hr
	cd ../tools && sh po-update.sh hu
	cd ../tools && sh po-update.sh id
	cd ../tools && sh po-update.sh it
	cd ../tools && sh po-update.sh nl
	cd ../tools && sh po-update.sh pl
	cd ../tools && sh po-update.sh pt
	cd ../tools && sh po-update.sh pt_BR
	cd ../tools && sh po-update.sh ro
	cd ../tools && sh po-update.sh ru
	cd ../tools && sh po-update.sh sk
	cd ../tools && sh po-update.sh sl
	cd ../tools && sh po-update.sh sq
	cd ../tools && sh po-update.sh sv
	cd ../tools && sh po-update.sh tr
	cd ../tools && sh po-update.sh uk
	cd ../tools && sh po-update.sh zh_CN
	cd ../tools && sh po-update.sh zh_TW

compile : all

	# compile all isodumper.mo files
	#(just add to the list the available language or comment the unavailable language)
	cd ../tools && sh po-compile.sh ast
	cd ../tools && sh po-compile.sh ca
	cd ../tools && sh po-compile.sh cs
	cd ../tools && sh po-compile.sh da
	cd ../tools && sh po-compile.sh de
	cd ../tools && sh po-compile.sh el
	cd ../tools && sh po-compile.sh en_GB
	cd ../tools && sh po-compile.sh es
	cd ../tools && sh po-compile.sh et
	cd ../tools && sh po-compile.sh eu
	cd ../tools && sh po-compile.sh fr
	cd ../tools && sh po-compile.sh hr
	cd ../tools && sh po-compile.sh hu
	cd ../tools && sh po-compile.sh id
	cd ../tools && sh po-compile.sh it
	cd ../tools && sh po-compile.sh nl
	cd ../tools && sh po-compile.sh pl
	cd ../tools && sh po-compile.sh pt
	cd ../tools && sh po-compile.sh pt_BR
	cd ../tools && sh po-compile.sh ro
	cd ../tools && sh po-compile.sh ru
	cd ../tools && sh po-compile.sh sk
	cd ../tools && sh po-compile.sh sl
	cd ../tools && sh po-compile.sh sq
	cd ../tools && sh po-compile.sh sv
	cd ../tools && sh po-compile.sh tr
	cd ../tools && sh po-compile.sh uk
	cd ../tools && sh po-compile.sh zh_CN
	cd ../tools && sh po-compile.sh zh_TW