3
# Sample debian/rules that uses debhelper.
4
# GNU copyright 1997 to 1999 by Joey Hess.
6
2
# Uncomment this to turn on verbose mode.
12
PACKAGE_NAME = ttf-mikachan
14
DIR_MIKACHAN = mikachanfont-$(VERSION)
15
DIR_MIKACHAN_P = mikachanfontP-$(VERSION)
16
DIR_MIKACHAN_PB = mikachanfontPB-$(VERSION)
17
DIR_MIKACHAN_PS = mikachanfontPS-$(VERSION)
18
ALL_DIR = $(DIR_MIKACHAN) $(DIR_MIKACHAN_P) $(DIR_MIKACHAN_PB) $(DIR_MIKACHAN_PS)
20
ARC_MIKACHAN = $(DIR_MIKACHAN).tar.bz2
21
ARC_MIKACHAN_P = $(DIR_MIKACHAN_P).tar.bz2
22
ARC_MIKACHAN_PB = $(DIR_MIKACHAN_PB).tar.bz2
23
ARC_MIKACHAN_PS = $(DIR_MIKACHAN_PS).tar.bz2
24
ALL_ARC = $(ARC_MIKACHAN) $(ARC_MIKACHAN_P) $(ARC_MIKACHAN_PB) $(ARC_MIKACHAN_PS)
26
configure: configure-stamp
29
# Add here commands to configure the package.
31
for arc in $(ALL_ARC); do \
39
build-stamp: configure-stamp
42
# Add here commands to compile the package.
46
#/usr/bin/docbook-to-man debian/ttf-mikachan.sgml > ttf-mikachan.1
53
rm -f build-stamp configure-stamp
55
# Add here commands to clean up after the build process.
66
# Add here commands to install the package into debian/ttf-mikachan.
69
for dir in $(ALL_DIR); do \
70
install -m 644 $$dir/fonts/*.ttf \
71
`pwd`/debian/$(PACKAGE_NAME)/usr/share/fonts/truetype/mikachan/ ;\
75
install -m 644 debian/defoma/*.hints \
76
`pwd`/debian/$(PACKAGE_NAME)/etc/defoma/hints
79
# Build architecture-independent files here.
80
binary-indep: build install
83
dh_installchangelogs $(DIR_MIKACHAN)/ChangeLog
84
dh_installdocs $(DIR_MIKACHAN)/COPYRIGHT $(DIR_MIKACHAN)/COPYRIGHT.ja $(DIR_MIKACHAN)/README $(DIR_MIKACHAN)/README.ja
110
# Build architecture-dependent files here.
113
binary: binary-indep binary-arch
114
.PHONY: build clean binary-indep binary-arch binary install configure