debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | DPKG_EXPORT_BUILDFLAGS = 1 |
| 4 | DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 5 | include /usr/share/dpkg/buildflags.mk |
| 6 | |
| 7 | %: |
| 8 | dh $@ |
| 9 | |
| 10 | override_dh_auto_build: |
| 11 | # We have to force LDFLAGS since upstream Makefile sets it |
| 12 | dh_auto_build -- DEBCXXFLAGS="${CPPFLAGS} ${CXXFLAGS}" LDFLAGS="${LDFLAGS}" |
| 13 | |
| 14 | override_dh_auto_install: |
| 15 | dh_auto_install -- prefix=/usr |