diff options
author | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2019-02-21 19:21:45 +0100 |
---|---|---|
committer | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2019-02-21 19:21:45 +0100 |
commit | e41f286aef83b8798daded9979cea52b4e24e491 (patch) | |
tree | fcbf17a9934587c31d368c0a4b3f2b59da2376eb /debian | |
parent | a0e4ae2e6ffa33fb88c858e6aaf45f0c05bde337 (diff) |
Add symlinks to the unhinted fonts from the hinted transitional package
Closes: #922457
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 339f3d6..40e6a62 100755 --- a/debian/rules +++ b/debian/rules @@ -51,3 +51,11 @@ clean-extracted-copyright-during-build: debian/stamp-copyright-check clean:: find -type f -name '*.metadata_dump' -delete rm -f debian/stamp-extract-copyright + +binary-install/fonts-roboto-hinted:: binary-install/fonts-roboto-unhinted + mkdir -p debian/fonts-roboto-hinted/usr/share/fonts/truetype/roboto/hinted + for d in debian/fonts-roboto-unhinted/usr/share/fonts/truetype/roboto/unhinted/*.ttf \ + debian/fonts-roboto-unhinted/usr/share/fonts/truetype/roboto/unhinted/*/*.ttf; \ + do \ + ln -rs $$d debian/fonts-roboto-hinted/usr/share/fonts/truetype/roboto/hinted/; \ + done |