File: rules

package info (click to toggle)
kakasi 2.3.6-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,560 kB
  • sloc: sh: 11,430; ansic: 6,734; makefile: 125
file content (28 lines) | stat: -rwxr-xr-x 725 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
PKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --with autoreconf

override_dh_auto_test:
	:

override_dh_auto_build:
	dh_auto_build
	-cp -f man/kakasi.1.ja man/kakasi.ja.1
	for i in doc/ChangeLog.lib doc/JISYO doc/README.level doc/README.lib \
		doc/README.wakati INSTALL-ja NEWS ONEWS README-ja THANKS TODO; \
	do \
	  if [ -f "$$i" ]; then \
	    iconv -f eucJP -t UTF-8 < $$i > $$i.utf8 ;\
	  fi ; \
	done