examples/debhello-3.4/debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | export DH_VERBOSE = 1 |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 5 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 6 | DEB_HOST_MULTIARCH = $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | dh_auto_configure -- \ |
| 13 | -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_HOST_MULTIARCH)" |
| 14 | |
| 15 | override_dh_missing: |
| 16 | dh_missing -X.la -X.pyc -X.pyo |
| 17 |