summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/build b/build
index bb20e3a..4966e07 100755
--- a/build
+++ b/build
@@ -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