File: rules

package info (click to toggle)
cmigemo 1%3A1.2%2Bgh0.20150404-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,672 kB
  • sloc: ansic: 2,617; cs: 188; makefile: 174; sh: 107; cpp: 67; perl: 59; csh: 49
file content (24 lines) | stat: -rwxr-xr-x 629 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 $@ --buildsystem=makefile

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_auto_clean:
	dh_auto_clean
	$(MAKE) gcc-distclean

override_dh_strip:
	dh_strip --dbgsym-migration='libmigemo-dbg (<< 1:1.2+gh0.20150404-5~)'