From af6586a72313c610b8dbcd429d7bed316b2d3a3b Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Thu, 14 Apr 2016 21:31:19 -0400 Subject: [PATCH] build: Be more careful about the use of .. --- CMakeLists.txt | 3 +++ docs/config.ld | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27b08c8b1..69b823c03 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 bec83fd4e..b220b7208 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