File: rules

package info (click to toggle)
cmigemo 1%3A1.2%2Bgh0.20150404-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,672 kB
  • sloc: ansic: 2,617; cs: 188; makefile: 173; sh: 107; cpp: 67; perl: 59; csh: 49; javascript: 20
file content (22 lines) | stat: -rwxr-xr-x 602 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --buildsystem=makefile --with vim_addon

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