1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PACKAGE=xfonts-jisx0213
build-indep: build-indep-stamp
build-indep-stamp:
dh_testdir
#$(MAKE)
for f in K12-1 K12-2 K14-2000-2 K14-2004-1 jiskan16-2000-2 jiskan16-2004-1; do \
gzip -dc $${f}.bdf.gz > $${f}.bdf; \
done
patch -p1 < debian/K12-1-to-2004.patch
mv K12-1.bdf K12-2004-1.bdf
mv K12-2.bdf K12-2000-2.bdf
for f in *.bdf; do \
bdftopcf $${f} > `/usr/bin/basename $${f} .bdf`.pcf; \
done
touch $@
build-arch:
build: build-indep build-arch
clean:
dh_testdir
dh_testroot
rm -f *build*-stamp
#-$(MAKE) clean
rm -f *.bdf *.pcf
dh_clean
install: build-indep
dh_testdir
dh_testroot
dh_prep
dh_installdirs
#$(MAKE) DESTDIR=$(CURDIR)/debian/$(PACKAGE) install
install -d $(CURDIR)/debian/$(PACKAGE)/usr/share/fonts/X11/misc
for f in *.pcf; do \
install -m 644 $${f} $(CURDIR)/debian/$(PACKAGE)/usr/share/fonts/X11/misc/; \
done
install -d $(CURDIR)/debian/$(PACKAGE)/etc/X11/fonts/misc
install -m 644 debian/$(PACKAGE).alias $(CURDIR)/debian/$(PACKAGE)/etc/X11/fonts/misc/
binary-indep: install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installxfonts
dh_installexamples
dh_install
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch:
binary: binary-indep binary-arch
.PHONY: build-indep build-arch build clean binary-indep binary-arch binary install
|