File: rules

package info (click to toggle)
klog 2.3.4-3
  • links: PTS
  • area: main
  • in suites: sid
  • size: 11,736 kB
  • sloc: cpp: 53,848; makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 502 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
#!/usr/bin/make -f
%:
	dh $@

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

override_dh_clean:
	dh_clean translations/*.qm

override_dh_auto_build:
	qmake src.pro
	make
	lrelease translations/*.ts

override_dh_auto_install:
	make install DESTDIR=$(CURDIR)/debian/klog

	# 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