| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 4 |
|
| 5 |
export COMMONCPP_CFLAGS=`pkg-config --cflags ucommon commoncpp` |
| 6 |
export COMMONCPP_LIBS=`pkg-config --libs ucommon commoncpp` |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
execute_after_dh_install: |
| 12 |
# Drop content of dependency_libs to avoid having to recompile |
| 13 |
# if the path of the libs that appear there changes |
| 14 |
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'` |
| 15 |
|
| 16 |
execute_before_dh_clean: |
| 17 |
rm -f doc/latex/* doc/html/* doc/man/man3/* doc/doxy |
| 18 |
|
| 19 |
execute_after_dh_installman: |
| 20 |
# Remove files with low content and filenames based on the build path. |
| 21 |
# https://bugs.debian.org/860470 |
| 22 |
rm -vf debian/libccrtp-doc/usr/share/man/man*/_* |