#!/usr/bin/make -f ifeq (,$(findstring terse,${DEB_BUILD_OPTIONS})) export DH_VERBOSE=1 export V=1 export VERBOSE=1 endif LC_ALL:=C export LC_ALL override_dh_clean: dh_clean rm -f FluidR3Mono_GM.sf3 tmp.sf2 icop:=Copyright (c) Frank Wen, Michael Cowgill, and others; see ICMT chunk or Debian fluidr3mono-gm-soundfont for entire terms and the MIT licence ieng:=Mono version by Church Organist override_dh_auto_build: LC_ALL=C.UTF-8; export LC_ALL; set -- FluidR3Mono_GM*.SF2; \ fullname="$${1%2}3"; \ cmt=$$(sed '1,/^Licence:$$/d' debian/copyright | sed 1d; echo x); \ python3 debian/riffedit.py "$$1" tmp.sf2 \ -az 'LIST/INAM' "$$fullname" \ -az 'LIST/ICOP' '${icop}' \ -az 'LIST/IENG' '${ieng}' \ -az 'LIST/ICMT' "$${cmt%x}" sf3convert -S 0 -q 0.8 -a -1 -z \ tmp.sf2 FluidR3Mono_GM.sf3 rm -f tmp.sf2 override_dh_installchangelogs: dh_installchangelogs FluidR3MonoChangeLog.txt override_dh_builddeb: dh_builddeb -- --no-uniform-compression %: dh $@