File: rules

package info (click to toggle)
libosip2 4.1.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 3,916 kB
  • ctags: 2,431
  • sloc: ansic: 20,432; sh: 11,024; makefile: 185
file content (17 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
%:
	dh $@ --parallel --with autoreconf

export EXTRA_LIB=-lpthread

override_dh_auto_configure:
	dh_auto_configure -- --enable-gperf --enable-pthread

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