| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | # for DEB_HOST_ARCH variable |
| 6 | include /usr/share/dpkg/architecture.mk |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 hurd-i386 kfreebsd-amd64 kfreebsd-i386 x32)) |
| 13 | dh_auto_configure -- --enable-fat --disable-native |
| 14 | else |
| 15 | dh_auto_configure -- --disable-fat --disable-native |
| 16 | endif |
| 17 | |
| 18 | override_dh_install: |
| 19 | dh_install |
| 20 | rm debian/tmp/usr/lib/*/*.la |