File: rules

package info (click to toggle)
faustworks 0.5~repack0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 1,040 kB
  • sloc: cpp: 7,460; sh: 166; makefile: 71; xml: 71; ansic: 9
file content (25 lines) | stat: -rwxr-xr-x 600 bytes parent folder | download
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export QTDIR=/usr/share/qt5
export QT_SELECT=qt5

# Parallel builds are disabled because the generation of translations/i18n_ru.qm
# in the qmake file is incorrectly ordered.

%:
	dh $@ --buildsystem=qmake --no-parallel

override_dh_auto_clean:
	rm -f .qmake.stash
	rm -f Makefile_QT
	rm -f Resources/translations/i18n_*.qm
	rm -f *.o moc_* qrc_* ui_* FaustWorks Makefile

override_dh_fixperms:
	dh_fixperms
	cd debian/faustworks && \
	chmod 0644 usr/share/FaustWorks/Resources/*