File: rules

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

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

ts = $(wildcard qtqr_*.ts)
qm = $(ts:ts=qm)
execute_after_dh_auto_build: $(qm)
$(qm): %.qm: %.ts
	/usr/lib/qt6/bin/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