| 1 | #!/usr/bin/make -f |
| 2 | # -*- mode: makefile; coding: utf-8 -*- |
| 3 | # Copyright © 2010 Arnout Engelen <[email protected]> |
| 4 | # Copyright © 2010-2011, Jonas Smedegaard <[email protected]> |
| 5 | # Description: Main Debian packaging script for jack.* |
| 6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify |
| 8 | # it under the terms of the GNU General Public License as published by |
| 9 | # the Free Software Foundation; either version 2, or (at your option) |
| 10 | # any later version. |
| 11 | # |
| 12 | # This program is distributed in the hope that it will be useful, but |
| 13 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | # General Public License for more details. |
| 16 | # |
| 17 | # You should have received a copy of the GNU General Public License |
| 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | |
| 20 | DPKG_EXPORT_BUILDTOOLS = 1 |
| 21 | include /usr/share/dpkg/buildtools.mk |
| 22 | |
| 23 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 24 | |
| 25 | %: |
| 26 | |
| 27 | dh $@ |
| 28 | |
| 29 | override_dh_auto_build: |
| 30 | make CFLAGS="$(CFLAGS) $(CPPFLAGS) -std=c99 -D_POSIX_C_SOURCE=200112 -Wno-incompatible-pointer-types"\ |
| 31 | LDFLAGS="$(LDFLAGS)" \ |
| 32 | mk-local-c-common all |
| 33 | find -maxdepth 1 -type f -name '*.text' -exec a2x -f manpage '{}' ';' |
| 34 | |
| 35 | override_dh_auto_install: |