File: rules

package info (click to toggle)
xfonts-baekmuk 2.2-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 107,228 kB
  • ctags: 1
  • sloc: makefile: 21; sh: 4
file content (29 lines) | stat: -rwxr-xr-x 669 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
27
28
29
#!/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 -9c >$$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

override_dh_builddeb:
	dh_builddeb -- -Zxz -Sextreme -z9