summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-06-23 21:32:38 +0200
committerLennart Poettering <lennart@poettering.net>2015-06-24 01:13:07 +0200
commitb7b85f227c72681e4369d7368bda787be0ef3fa0 (patch)
tree12673cd914c83c62758bb84d470021636b3ac98a /Makefile.am
parentman: be more careful with the wording in busctl(1) (diff)
downloadsystemd-b7b85f227c72681e4369d7368bda787be0ef3fa0.tar.xz
systemd-b7b85f227c72681e4369d7368bda787be0ef3fa0.zip
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.
Diffstat (limited to 'Makefile.am')
-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