From a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f Mon Sep 17 00:00:00 2001 From: SARL ENR-68 Date: Sun, 25 Jan 2015 16:55:49 +0100 Subject: 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 --- po/Makefile | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 po/Makefile (limited to 'po') 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 +# Author Makefile file= Geiger David + +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 -- cgit v1.2.1