diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-01-07 03:09:04 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-01-07 03:09:04 +0100 |
commit | c608909c6dd0cd41ed278985195457f32f73f095 (patch) | |
tree | 81acb5c99fe100c5c72d492575e138a3120be105 /ubuntu | |
parent | 22ffe24ee57ad0441dd150f7aa56dd94ef140c80 (diff) | |
download | tde-packaging-c608909c6dd0cd41ed278985195457f32f73f095.tar.gz tde-packaging-c608909c6dd0cd41ed278985195457f32f73f095.zip |
DEB kile: Add rule to install translated documentation into language packages.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu')
-rwxr-xr-x | ubuntu/_base/applications/office/kile/debian/rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ubuntu/_base/applications/office/kile/debian/rules b/ubuntu/_base/applications/office/kile/debian/rules index 3a717eab1..59bca7cd4 100755 --- a/ubuntu/_base/applications/office/kile/debian/rules +++ b/ubuntu/_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 |