| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
export QT_SELECT=qt5 |
| 6 |
|
| 7 |
|
| 8 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
EXTRA_CPPFLAGS= |
| 13 |
ifneq (,$(findstring armel,$(DEB_HOST_ARCH))) |
| 14 |
EXTRA_CPPFLAGS += -DMUP_BASETYPE=float |
| 15 |
endif |
| 16 |
ifneq (,$(findstring armhf,$(DEB_HOST_ARCH))) |
| 17 |
EXTRA_CPPFLAGS += -DMUP_BASETYPE=float |
| 18 |
endif |
| 19 |
ifneq (,$(findstring sh4,$(DEB_HOST_ARCH))) |
| 20 |
EXTRA_CPPFLAGS += -DMUP_BASETYPE=float |
| 21 |
endif |
| 22 |
export DEB_CPPFLAGS_MAINT_APPEND = $(EXTRA_CPPFLAGS) |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
%: |
| 27 |
dh $@ |
| 28 |
|
| 29 |
execute_before_dh_auto_build: |
| 30 |
lrelease IanniX.pro |
| 31 |
|
| 32 |
execute_after_dh_installexamples: |
| 33 |
find debian/iannix/ -name "*.txt" -exec chmod a-x {} + |
| 34 |
|
| 35 |
execute_after_dh_install: |
| 36 |
find debian/iannix/ -name "*Example.pd" -exec sed -e '2i #X declare -lib Gem;' -i {} + |
| 37 |
|
| 38 |
show_arch: |
| 39 |
@echo DEB_HOST_ARCH_CPU: $(DEB_HOST_ARCH_CPU) |
| 40 |
@echo EXTRA_CPPFLAGS: $(EXTRA_CPPFLAGS) |
| 41 |
@echo DEB_CPPFLAGS_MAINT_APPEND: $(DEB_CPPFLAGS_MAINT_APPEND) |
| 42 |
|
| 43 |
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \ |
| 44 |
debian/.*|icons/res_.*\.png|Examples/.*\.png|iannix\.png|icon\.icns|icon_file\.icns |
| 45 |
|
| 46 |
.PHONY: licensecheck |
| 47 |
licensecheck: |
| 48 |
LANG=C.UTF-8 licensecheck \ |
| 49 |
-i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEX))$$" \ |
| 50 |
--check '.*' --recursive --deb-machine --lines 0 * \ |
| 51 |
> debian/copyright_newhints |
| 52 |
cmp debian/copyright_hints debian/copyright_newhints \ |
| 53 |
&& rm debian/copyright_newhints |