commit current WIP packaging to VCS
[alioth/soundfonts.git] / debian / rules
1 #!/usr/bin/make -f
2
3 LC_ALL:=C
4 export LC_ALL
5
6 override_dh_clean:
7         dh_clean
8         rm -f FluidR3Mono_GM.sf?
9
10 icop:=Copyright (c) Frank Wen, Michael Cowgill, and others; see ICMT chunk or Debian fluidr3mono-gm-soundfont for entire licence
11 ieng:=Mono version by Church Organist
12 override_dh_auto_build:
13         LC_ALL=C.UTF-8; export LC_ALL; set -- FluidR3Mono_GM*.SF2; \
14             python3 debian/fix-ICOP.py "$$1" FluidR3Mono_GM.sf2 \
15             "$${1%2}3" '${icop}' '${ieng}' \
16             "$$(sed '1,/^Licence:$$/d' <debian/copyright | sed 1d)"
17         musescore-sfconvert -q 0.6 -z \
18             FluidR3Mono_GM.sf2 FluidR3Mono_GM.sf3
19
20 override_dh_installchangelogs:
21         dh_installchangelogs FluidR3MonoChangeLog.txt
22
23 %:
24         dh $@