File: rules

package info (click to toggle)
cmigemo 1:1.2+gh0.20140306-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,668 kB
  • ctags: 1,550
  • sloc: ansic: 2,617; lisp: 656; cs: 188; makefile: 174; sh: 172; cpp: 67; perl: 59; csh: 49
file content (24 lines) | stat: -rwxr-xr-x 572 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
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	$(SHELL) ./configure --prefix=$(CURDIR)/debian/tmp/usr

override_dh_auto_install:
	dh_auto_install
	for f in han2zen.dat hira2kata.dat roma2hira.dat zen2han.dat ; do \
	  nkf -e < dict/$$f > $(CURDIR)/debian/tmp/usr/share/cmigemo/euc-jp/$$f ;\
	  nkf -w < dict/$$f > $(CURDIR)/debian/tmp/usr/share/cmigemo/utf-8/$$f ;\
	done

override_dh_strip:
	dh_strip --dbg-package=libmigemo-dbg

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) gcc-distclean