1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CMAKE_EXTRA_FLAGS = -DWANT_SHARED=OFF \
-DWANT_PORTAUDIO=ON \
-DWANT_PORTMIDI=ON \
-DWANT_RUBBERBAND=ON
export QTDIR=/usr/lib/qt5
%:
dh $@
override_dh_auto_configure:
dh_auto_configure --buildsystem=cmake -- $(DEB_CMAKE_EXTRA_FLAGS)
execute_after_dh_auto_build:
mv ./data/img/h2-icon.bmp ./data/img/h2-icon.png
make -C documentation \
manual_en.html tutorial_en.html tutorial_fr.html tutorial_it.html
execute_before_dh_clean:
mv ./data/img/h2-icon.png ./data/img/h2-icon.bmp || true
execute_after_dh_auto_install:
rm -rf debian/tmp/usr/share/hydrogen/data/new_tutorial
rm -f debian/tmp/usr/share/hydrogen/data/doc/res/LICENSE
|