File: rules

package info (click to toggle)
qr-tools 2.1~bzr52-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 780 kB
  • sloc: python: 1,399; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export QT_SELECT := 5

%:
	dh $@ --buildsystem=pybuild --with python3

ts = $(wildcard qtqr_*.ts)
qm = $(ts:ts=qm)
execute_after_dh_auto_build: $(qm)
$(qm): %.qm: %.ts
	lrelease -nounfinished $< -qm $@

execute_after_dh_auto_install:
	install -m 644 qtqr.py  debian/qtqr/usr/bin/qtqr
	install -m 644 icon.png debian/qtqr/usr/share/pixmaps/qtqr.png