aboutsummaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorSARL ENR-68 <david@david.david>2015-01-25 16:55:49 +0100
committerSARL ENR-68 <david@david.david>2015-01-25 16:55:49 +0100
commita8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f (patch)
treea837292d6d0401d416605f69ef67075e2628ee45 /po/Makefile
parent8ca59788d485f5ba41d686779723e1a0dc480942 (diff)
downloadisodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar
isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar.gz
isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar.bz2
isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar.xz
isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.zip
Change for automatic formatting and compiling '.po' files during build
- add new Makefile for po files - fix main Makefile adding po/Makefile - remove locale folder
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile89
1 files changed, 89 insertions, 0 deletions
diff --git a/po/Makefile b/po/Makefile
new file mode 100644
index 0000000..04e764a
--- /dev/null
+++ b/po/Makefile
@@ -0,0 +1,89 @@
+# 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 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 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 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 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 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 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