build-sys: make sure check-api-docs sees each symbol just once

Given that some symbols are exposed by multiple libraries (due to the
compatibility libraries), let's ensure "make check-api-docs" only shows
each symbol once by filtering out duplicates.
This commit is contained in:
Lennart Poettering 2015-06-23 21:32:38 +02:00
parent 3ed18ce28c
commit b7b85f227c

View file

@ -6322,7 +6322,7 @@ exported-%: %
$(AM_V_GEN)$(NM) -g --defined-only $(builddir)/.libs/$(<:.la=.so) 2>&1 /dev/null | grep " T " | cut -d" " -f3 > $@
exported: $(addprefix exported-, $(lib_LTLIBRARIES))
$(AM_V_GEN)cat $^ > $@
$(AM_V_GEN)sort -u $^ > $@
.PHONY: check-api-docs
check-api-docs: exported man