| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
include /usr/share/dpkg/architecture.mk |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 |
|
| 7 |
# Avoid parallel post-build test due to reused /tmp/snapshot.db |
| 8 |
%: |
| 9 |
dh $@ --no-parallel |
| 10 |
|
| 11 |
override_dh_auto_configure: |
| 12 |
dh_auto_configure -Sautoconf -- \ |
| 13 |
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ |
| 14 |
--datarootdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ |
| 15 |
--with-dbm=BerkeleyDB \ |
| 16 |
--enable-libzhuyin \ |
| 17 |
$(NULL) |
| 18 |
|
| 19 |
execute_before_dh_install: |
| 20 |
find debian/ -name *.la -delete |