File: rules

package info (click to toggle)
libccrtp 2.0.9-4.1
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 4,472 kB
  • sloc: sh: 10,900; cpp: 9,590; ansic: 2,567; makefile: 134
file content (20 lines) | stat: -rwxr-xr-x 626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export COMMONCPP_CFLAGS=`pkg-config --cflags ucommon commoncpp`
export COMMONCPP_LIBS=`pkg-config --libs ucommon commoncpp`

%:
	dh $@

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

execute_before_dh_clean:
	rm -f doc/latex/* doc/html/* doc/man/man3/* doc/doxy

execute_after_dh_installman:
	# Remove files with low content and filenames based on the build path.
	# https://bugs.debian.org/860470
	rm -vf debian/libccrtp-doc/usr/share/man/man*/_*