DEB kile: Add rule to install translated documentation into language packages.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/109/head
Slávek Banko 3 years ago
parent 22ffe24ee5
commit c608909c6d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -24,6 +24,12 @@ common-install-indep::
cp -a $(CURDIR)/debian/tmp/opt/trinity/share/locale/$$language \ cp -a $(CURDIR)/debian/tmp/opt/trinity/share/locale/$$language \
$(CURDIR)/debian/kile-trinity-i18n-$$pkg_lang/opt/trinity/share/locale/$$language; \ $(CURDIR)/debian/kile-trinity-i18n-$$pkg_lang/opt/trinity/share/locale/$$language; \
done 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/kile-trinity::
# Install pixmap # Install pixmap

@ -24,6 +24,12 @@ common-install-indep::
cp -a $(CURDIR)/debian/tmp/opt/trinity/share/locale/$$language \ cp -a $(CURDIR)/debian/tmp/opt/trinity/share/locale/$$language \
$(CURDIR)/debian/kile-trinity-i18n-$$pkg_lang/opt/trinity/share/locale/$$language; \ $(CURDIR)/debian/kile-trinity-i18n-$$pkg_lang/opt/trinity/share/locale/$$language; \
done 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/kile-trinity::
# Install pixmap # Install pixmap

Loading…
Cancel
Save