debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # You must remove unused comment lines for the released package. |
| 3 | #export DH_VERBOSE = 1 |
| 4 | |
| 5 | include /usr/share/dpkg/pkg-info.mk |
| 6 | |
| 7 | DIR=$(CURDIR)/debian/fonts-babelstone-han/usr/share/fonts/truetype/babelstone |
| 8 | |
| 9 | %: |
| 10 | dh $@ |
| 11 | |
| 12 | override_dh_install: |
| 13 | mkdir -p $(DIR) |
| 14 | echo "$(shell otfinfo --font-version BabelStoneHan.ttf)" | grep $(DEB_VERSION_UPSTREAM) >/dev/null |
| 15 | cp BabelStoneHan.ttf $(DIR) |