#!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2015 IOhannes m zmölnig # Description: Main Debian packaging script for libambix # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/class/pd.mk include /usr/share/cdbs/1/rules/utils.mk export VERBOSE=1 #DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(cdbs_make_curdestdir) prefix=/usr libdir=/usr/lib/${DEB_HOST_MULTIARCH}/ DEB_MAKE_CHECK_TARGET = check ## use 'clean' instead of 'distclean' #DEB_MAKE_CLEAN_TARGET = clean DEB_INSTALL_CHANGELOGS_ALL= #CDBS_BUILD_DEPENDS_rules_utils_copyright-check = #CDBS_BUILD_DEPENDS_rules_utils_buildinfo = DEB_CONFIGURE_EXTRA_FLAGS += --libdir=/usr/lib/${DEB_HOST_MULTIARCH}/ binary-predeb/pd-ambix:: # remove libtools leftovers find "$(CURDIR)/debian/$(cdbs_curpkg)" -name "*.la" -delete H2MANPAGES=ambix-info.1 ambix-interleave.1 ambix-deinterleave.1 ambix-jplay.1 ambix-jrecord.1 DEB_INSTALL_MANPAGES_libambix-utils=$(H2MANPAGES) %.1: utils/% help2man \ -l --no-discard-stderr \ -n "AMBIsonics eXchange utility" \ -h -h -v -V $^ > $@ common-post-build-arch:: $(H2MANPAGES) clean:: rm -f $(H2MANPAGES)