debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el)) |
| 6 | export DEB_CFLAGS_MAINT_APPEND = -DNO_WARN_X86_INTRINSICS |
| 7 | endif |
| 8 | |
| 9 | %: |
| 10 | dh $@ --sourcedirectory=src |
| 11 | |
| 12 | override_dh_auto_build-indep: |
| 13 | cd $(CURDIR)/example/ && \ |
| 14 | tar Jcvf examples.tar.xz * --sort=name --mode=go=rX,u+rw,a-s --owner=root --group=root --numeric-owner |
| 15 | |
| 16 | override_dh_installchangelogs: |
| 17 | dh_installchangelogs debian/upstream.changelog |