File: rules

package info (click to toggle)
libexosip2 4.1.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 3,040 kB
  • ctags: 1,597
  • sloc: ansic: 21,465; sh: 11,005; makefile: 89
file content (22 lines) | stat: -rwxr-xr-x 657 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

# Grab the version from the changelog, up to the first -
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --disable-josua --program-suffix=-$(DEB_UPSTREAM_VERSION)

override_dh_auto_build:
	dh_auto_build -- all doxygen

override_dh_install:
	dh_install --list-missing
	# Drop content of dependency_libs to avoid having to recompile exiv2
	# if the path of the libs that appear there changes
	sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh