[flare-engine] 03/07: Symlink with system-provided fonts through dh_link
Manuel A. Fernandez Montecelo
mafm at moszumanska.debian.org
Sat Aug 1 15:58:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
mafm pushed a commit to branch master
in repository flare-engine.
commit 8b06c88fb6b7337d6539a11b4a8009b0038f9322
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date: Sat Aug 1 16:25:06 2015 +0100
Symlink with system-provided fonts through dh_link
---
debian/changelog | 1 +
debian/rules | 10 ++++------
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3814bbc..9685f3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ flare-engine (0.19-2) unstable; urgency=medium
"possible-missing-colon-in-closes"
* Build with "DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed" to avoid
linking against unneeded libraries
+ * Symlink with system-provided fonts through dh_link
-- Manuel A. Fernandez Montecelo <mafm at debian.org> Sat, 01 Aug 2015 15:53:24 +0100
diff --git a/debian/rules b/debian/rules
index d4222c1..99accd0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,12 +13,10 @@ override_dh_auto_configure:
dh_auto_configure -Scmake -- \
-DCMAKE_INSTALL_PREFIX=/usr
-override_dh_auto_install:
- dh_auto_install --parallel
- # Use the system-wide fonts
- rm debian/flare-engine/usr/share/games/flare/default/mods/default/fonts/LiberationSans-Regular.ttf
- cd debian/flare-engine/usr/share/games/flare/default/mods/default/fonts/ ;\
- ln -s /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf .
+override_dh_link:
+ # Use the system-wide fonts
+ dh_link -- usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf usr/share/games/flare/default/mods/default/fonts/LiberationSans-Regular.ttf
+
# mafm 20111021 -- man page can be regenerated from time to time, no
# need for this override dh_installman and use xsltproc every time
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/flare-engine.git
More information about the Pkg-games-commits
mailing list