File: rules

package info (click to toggle)
xfonts-baekmuk 2.2-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 107,232 kB
  • sloc: makefile: 19; sh: 4
file content (26 lines) | stat: -rwxr-xr-x 612 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	for B in bdf/*.bdf; do \
	    BASE=`echo $$B | sed -e s/.bdf//g`; \
	    echo "Making $$BASE..."; \
	    bdftopcf $$B | gzip -9cn >$$BASE.pcf.gz || exit 1; \
	done

override_dh_auto_clean:
	dh_auto_clean
	rm -f bdf/*.pcf.gz

DOCINSTALLDIR = $(CURDIR)/debian/xfonts-baekmuk/usr/share/doc/xfonts-baekmuk/

override_dh_auto_install:
	install -d $(DOCINSTALLDIR)
	install -m644 COPYRIGHT  $(DOCINSTALLDIR)/COPYRIGHT.en.txt
	iconv -f EUC-KR -t UTF-8 < COPYRIGHT.ks \
	    > $(DOCINSTALLDIR)/COPYRIGHT.ko.txt
	dh_auto_install