File: rules

package info (click to toggle)
klog 2.4.2-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 12,228 kB
  • sloc: cpp: 51,678; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 535 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
%:
	dh $@ --buildsystem=qmake6

build-indep:
	echo klog.1 > debian/klog.manpages

override_dh_clean:
	dh_clean translations/*.qm
	dh_clean -d build
	dh_clean Makefile
	dh_clean .qmake*

execute_after_dh_auto_build:
	/usr/lib/qt6/bin/lrelease translations/*.ts

override_dh_auto_install:
	# Install the translations qm files
	#lrelease translations/*.ts
	install -d $(CURDIR)/debian/klog/usr/share/klog/translations
	install -m 644 translations/*.qm $(CURDIR)/debian/klog/usr/share/klog/translations
	dh_auto_install