[debian-edu-commits] debian-edu/pkg-team/ 17/25: debian/rules: improve readability.
Mike Gabriel
sunweaver at debian.org
Tue Aug 12 16:44:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository gosa.
commit 3b41df13e03bd7d0d0061060a8ba100da871e8c1
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Aug 11 19:00:13 2014 +0200
debian/rules: improve readability.
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index 1ec7876..be03db2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,8 @@ override_dh_install:
find debian/gosa-plugin-*/usr/share/gosa/locale/plugins/*/locale/*/LC_MESSAGES/ -type d | while read dir; do \
test -f $$dir/messages.po || touch $$dir/.placeholder; \
done
+
+ # don't use embedded fonts, use font package files from Debian
mkdir -p debian/gosa/usr/share/gosa/html/themes/default/fonts
ln -sf /usr/share/fonts/truetype/liberation/LiberationSerif-Italic.ttf debian/gosa/usr/share/gosa/html/themes/default/fonts
ln -sf /usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf debian/gosa/usr/share/gosa/html/themes/default/fonts
@@ -41,6 +43,7 @@ override_dh_install:
ln -sf /usr/share/fonts/truetype/liberation/LiberationSans-BoldItalic.ttf debian/gosa/usr/share/gosa/html/themes/default/fonts
ln -sf /usr/share/fonts/truetype/liberation/LiberationMono-BoldItalic.ttf debian/gosa/usr/share/gosa/html/themes/default/fonts
ln -sf /usr/share/fonts/truetype/liberation/LiberationSerif-Bold.ttf debian/gosa/usr/share/gosa/html/themes/default/fonts
+
# symlink to Debian's libjs-scriptaculous package
mkdir -p debian/gosa/usr/share/gosa/html/include
ln -sf /usr/share/javascript/scriptaculous/effects.js debian/gosa/usr/share/gosa/html/include/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git
More information about the debian-edu-commits
mailing list