diff --git a/CMakeLists.txt b/CMakeLists.txt index 27b08c8b..69b823c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -266,6 +266,9 @@ if(GENERATE_DOC) # Copy the images to the build directory file(COPY ${SOURCE_DIR}/docs/images DESTINATION ${BUILD_DIR}/doc) + # Copy the aliases to the build directory + file(COPY ${SOURCE_DIR}/docs/aliases DESTINATION ${BUILD_DIR}/docs) + # Run ldoc and make it fail if any warnings are generated. The # redirection-magic swaps stdout and stderr and awk exits with a non-zero # status if it sees at least one line of input. diff --git a/docs/config.ld b/docs/config.ld index bec83fd4..b220b720 100644 --- a/docs/config.ld +++ b/docs/config.ld @@ -64,9 +64,9 @@ file = { -- LUA libraries '../lib/', -- Old APIs the user should not longer use directly - '../../docs/aliases/awful_client.lua', - '../../docs/aliases/awful_screen.lua', - '../../docs/aliases/awful_tag.lua', + '../docs/aliases/awful_client.lua', + '../docs/aliases/awful_screen.lua', + '../docs/aliases/awful_tag.lua', exclude = { -- exclude these modules, as they do not contain any written -- documentation