| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
|
| 5 |
export QTDIR=/usr/share/qt5 |
| 6 |
export QT_SELECT=qt5 |
| 7 |
|
| 8 |
# Parallel builds are disabled because the generation of translations/i18n_ru.qm |
| 9 |
# in the qmake file is incorrectly ordered. |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ --buildsystem=qmake --no-parallel |
| 13 |
|
| 14 |
override_dh_auto_clean: |
| 15 |
rm -f .qmake.stash |
| 16 |
rm -f Makefile_QT |
| 17 |
rm -f Resources/translations/i18n_*.qm |
| 18 |
rm -f *.o moc_* qrc_* ui_* FaustWorks Makefile |
| 19 |
|
| 20 |
override_dh_fixperms: |
| 21 |
dh_fixperms |
| 22 |
cd debian/faustworks && \ |
| 23 |
chmod 0644 usr/share/FaustWorks/Resources/* |