diff options
author | Slávek Banko <[email protected]> | 2022-01-07 03:09:04 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-01-07 03:09:28 +0100 |
commit | 7df44ca2302bf8f994edfe2f6872bb4b18b5bae5 (patch) | |
tree | e7bb8e91a36bdb7f5e611e8bd17ce6958f894a13 /debian/_base | |
parent | 55c750fb500cbd65aabbab6e7ed7c06d4761516c (diff) | |
download | tde-packaging-7df44ca2302bf8f994edfe2f6872bb4b18b5bae5.tar.gz tde-packaging-7df44ca2302bf8f994edfe2f6872bb4b18b5bae5.zip |
DEB kile: Add rule to install translated documentation into language packages.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit c608909c6dd0cd41ed278985195457f32f73f095)
Diffstat (limited to 'debian/_base')
-rwxr-xr-x | debian/_base/applications/office/kile/debian/rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/_base/applications/office/kile/debian/rules b/debian/_base/applications/office/kile/debian/rules index 3a717eab1..59bca7cd4 100755 --- a/debian/_base/applications/office/kile/debian/rules +++ b/debian/_base/applications/office/kile/debian/rules @@ -24,6 +24,12 @@ common-install-indep:: cp -a $(CURDIR)/debian/tmp/opt/trinity/share/locale/$$language \ $(CURDIR)/debian/kile-trinity-i18n-$$pkg_lang/opt/trinity/share/locale/$$language; \ done + -for language in `cd debian/tmp/opt/trinity/share/doc/tde/HTML; ls -1d */ | grep -v '^en/'`; do \ + pkg_lang=$$(echo $$language | tr '[:upper:]' '[:lower:]' | sed -e s/@latn/latin/ -e s/[@_]//g); \ + install -d $(CURDIR)/debian/kile-trinity-i18n-$$pkg_lang/opt/trinity/share/doc/tde/HTML; \ + cp -a $(CURDIR)/debian/tmp/opt/trinity/share/doc/tde/HTML/$$language \ + $(CURDIR)/debian/kile-trinity-i18n-$$pkg_lang/opt/trinity/share/doc/tde/HTML/$$language; \ + done install/kile-trinity:: # Install pixmap |