File: rules

package info (click to toggle)
syncevolution 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,712 kB
  • sloc: cpp: 63,872; ansic: 14,604; python: 11,373; xml: 9,152; perl: 1,452; sh: 841; makefile: 318
file content (39 lines) | stat: -rwxr-xr-x 985 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
31
32
33
34
35
36
37
38
39
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_CXXFLAGS_MAINT_APPEND = -std=c++14

export CONFIG_SHELL=/bin/bash

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- --with-synthesis-src=none --prefix=/usr \
			--sysconfdir=/etc \
			--enable-gui \
			--with-rst2man --with-rst2html --enable-dav \
			--enable-oauth2

execute_after_dh_auto_install:
	cp test/syncevo-http-server.py \
		debian/tmp/usr/bin/syncevo-http-server

override_dh_install:
	dh_install -X"*.pl"

override_dh_missing:
	dh_missing

override_dh_makeshlibs:
	dh_makeshlibs -V'libsyncevolution0 (>= 1.5.2-3~)' -plibsyncevolution0
	dh_makeshlibs -V'libsyncevo-dbus0 (>= 1.5.2-3~)' -plibsyncevo-dbus0
	dh_makeshlibs -V'libgdbussyncevo0 (>= 1.5.2-3~)' -plibgdbussyncevo0
	dh_makeshlibs --remaining-packages