File: rules

package info (click to toggle)
zeitgeist 1.0.4-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,440 kB
  • sloc: python: 8,116; cpp: 3,006; ansic: 1,298; sql: 1,192; makefile: 951; javascript: 753; sh: 156
file content (30 lines) | stat: -rwxr-xr-x 678 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
26
27
28
29
30
#!/usr/bin/make -f

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--libexecdir=/usr/lib \
		--enable-datahub \
		--enable-fts \
		--enable-telepathy \
		--enable-docs
	cd po && $(MAKE) update-gmo

override_dh_auto_test:
	mkdir -p debian/tmp-xdg-runtime-dir
	HOME=$(CURDIR)/debian/build XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp-xdg-runtime-dir dbus-run-session -- make check VERBOSE=1

override_dh_installdocs:
	dh_installdocs README.md

override_dh_installchangelogs:
	dh_installchangelogs NEWS

execute_before_dh_clean:
	rm -f po/*.gmo
	rm -rf debian/tmp-xdg-runtime-dir