diff options
-rwxr-xr-x | debian/_base/applications/office/kile/debian/rules | 6 | ||||
-rwxr-xr-x | ubuntu/_base/applications/office/kile/debian/rules | 6 |
2 files changed, 12 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 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 |