| 1 |
#!/usr/bin/make -f |
| 2 |
# See debhelper(7) (uncomment to enable) |
| 3 |
# output every command that modifies files on the build system. |
| 4 |
#DH_VERBOSE = 1 |
| 5 |
PKG_EXPORT_BUILDFLAGS = 1 |
| 6 |
include /usr/share/dpkg/default.mk |
| 7 |
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 |
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 9 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ --with autoreconf |
| 13 |
|
| 14 |
override_dh_auto_test: |
| 15 |
: |
| 16 |
|
| 17 |
override_dh_auto_build: |
| 18 |
dh_auto_build |
| 19 |
-cp -f man/kakasi.1.ja man/kakasi.ja.1 |
| 20 |
for i in doc/ChangeLog.lib doc/JISYO doc/README.level doc/README.lib \ |
| 21 |
doc/README.wakati INSTALL-ja NEWS ONEWS README-ja THANKS TODO; \ |
| 22 |
do \ |
| 23 |
if [ -f "$$i" ]; then \ |
| 24 |
iconv -f eucJP -t UTF-8 < $$i > $$i.utf8 ;\ |
| 25 |
fi ; \ |
| 26 |
done |
| 27 |
|
| 28 |
|