| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# Uncomment this to turn on verbose mode. |
| 4 |
#export DH_VERBOSE=1 |
| 5 |
|
| 6 |
FONT := Marathi |
| 7 |
BUILDDIR := build |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ |
| 11 |
|
| 12 |
override_dh_auto_build: |
| 13 |
mkdir -p $(BUILDDIR) |
| 14 |
cp Lohit-$(FONT).sfd $(BUILDDIR)/ |
| 15 |
fontforge -lang=py -script apply_featurefile.py \ |
| 16 |
$(BUILDDIR)/Lohit-$(FONT).sfd Lohit-$(FONT).fea Lohit-$(FONT).sfd |
| 17 |
(cd $(BUILDDIR) && fontforge -script ../generate.pe Lohit-$(FONT).sfd) |
| 18 |
|
| 19 |
override_dh_auto_clean: |
| 20 |
dh_auto_clean |
| 21 |
rm -rf $(BUILDDIR) |
| 22 |
|
| 23 |
override_dh_auto_test: |
| 24 |
# Skip tests since they aren't working yet |
| 25 |
# https://github.com/pravins/lohit/issues/83 |