'locale' targets: Adapted for out of tree build

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3c0d72e28a
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-08-06 (Mon, 06 Aug 2012)

Origin message was:
------------------
* 'locale' targets: Adapted for out of tree build

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2012-08-06 21:56:12 +02:00
parent 8795f5dfeb
commit 7f8c0eb765
2 changed files with 35 additions and 30 deletions

View File

@@ -28,36 +28,35 @@ How do I add a new locale string?
---------------------------------
1.)
First of all, add the new string to deutsch.locale while preserving
the ordering. Do not add any empty lines. Use `make ordercheck' to for
verification.
the ordering. Do not add any empty lines.
2.)
Enter the directory apps/tuxbox/neutrino/data/locale.
Enter the directory build_tmp/neutrino-hd/data/locale.
3.)
Create new versions of the files apps/tuxbox/neutrino/src/system/locals.h
and apps/tuxbox/neutrino/src/system/locals_intern.h
using the command `make locals.h locals_intern.h'.
Use for sorting (deutsch.locale,english.locale) 'make sort-locals', use 'make ordercheck' to for
verification.
4.)
Check the modifications with `make check', or with
diff locals.h ../../src/system/locals.h
diff locals_intern.h ../../src/system/locals_intern.h
Create new versions of the files src/system/locals.h and src/system/locals_intern.h
using the command 'make locals.h locals_intern.h'.
5.)
Copy the replacement file to their destination with `make install-locals',
or with
cp -p locals.h ../../src/system/locals.h
cp -p locals_intern.h ../../src/system/locals_intern.h
Check the modifications with 'make check'
6.)
Copy the replacement file to their destination with 'make install-locals'
7.)
Or use for item 3-6 'make locals'
8.)
To the extent possible, update other locale file. For this, the
Perl-script create-locals-update.pl may be useful.
7.)
If committing the changes to CVS, commit both the involved
locale-files, apps/tuxbox/neutrino/src/system/locals.h, and
as apps/tuxbox/neutrino/src/system/locals_intern.h.
9.)
If committing the changes to Git, commit both the involved
locale-files, src/system/locals.h, and src/system/locals_intern.h.
Useful tools:
-------------