diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-04 11:04:34 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-04 11:04:34 (EDT) |
commit | df4c56d5a1d9088f0835b7832cac852c250a92da (patch) | |
tree | b14356470fc34bb31b2d45d0c4bf07529ddb2961 /build | |
parent | 06a35f0813c4bc7cfafcf351fd266ccedb1676d9 (diff) |
Split font variations into separate packages
Diffstat (limited to 'build')
-rwxr-xr-x | build | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,5 +1,7 @@ #!/usr/bin/make -f +variations = 1m 1p + include ../source.mk nop: @@ -9,6 +11,10 @@ build: @: install: build - install -d -m 0755 fonts-mplus.data/usr/share/fonts/truetype/mplus - install -m 0644 src/*.ttf \ - fonts-mplus.data/usr/share/fonts/truetype/mplus + set -e; \ + for v in $(variations); do \ + install -d -m 0755 \ + fonts-mplus-$${v}.data/usr/share/fonts/truetype/mplus; \ + install -m 0644 src/mplus-$${v}-*.ttf \ + fonts-mplus-$${v}.data/usr/share/fonts/truetype/mplus; \ + done |