projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a9d5ea
)
Generate the API documentation in a reproducible way.
author
Peter Pentchev
<roam@ringlet.net>
Sun, 17 Jan 2016 00:03:10 +0000
(
02:03
+0200)
committer
Andy Green
<andy.green@linaro.org>
Mon, 18 Jan 2016 04:07:07 +0000
(12:07 +0800)
Sort the list of source files before passing them to the kernel-doc
script so that it always outputs the discovered functions and
structures in the same order.
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
09e366f
..
763c652
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-977,6
+977,7
@@
if (UNIX)
# TODO: Fix this on Windows.
message("Generating API documentation")
file(GLOB C_FILES "${PROJECT_SOURCE_DIR}/lib/*.c")
+ list(SORT C_FILES)
execute_process(COMMAND "${CMAKE_COMMAND}" -E make_directory "${PROJECT_BINARY_DIR}/doc/")
execute_process(