summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-06-23 21:32:38 +0200
committerLennart Poettering <lennart@poettering.net>2015-06-23 19:13:07 -0400
commitb7b85f227c72681e4369d7368bda787be0ef3fa0 (patch)
tree12673cd914c83c62758bb84d470021636b3ac98a
parent3ed18ce28c2a8058fa740ad27436a2d73f096488 (diff)
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.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 936e4edd81..2d81d2908e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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