Merge pull request #827 from Elv13/fix_path

build: Be more careful about the use of ..
This commit is contained in:
Emmanuel Lepage Vallée 2016-04-15 03:38:25 -04:00
commit e2cd174c1a
2 changed files with 6 additions and 3 deletions

View File

@ -266,6 +266,9 @@ if(GENERATE_DOC)
# Copy the images to the build directory # Copy the images to the build directory
file(COPY ${SOURCE_DIR}/docs/images DESTINATION ${BUILD_DIR}/doc) 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 # 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 # redirection-magic swaps stdout and stderr and awk exits with a non-zero
# status if it sees at least one line of input. # status if it sees at least one line of input.

View File

@ -64,9 +64,9 @@ file = {
-- LUA libraries -- LUA libraries
'../lib/', '../lib/',
-- Old APIs the user should not longer use directly -- Old APIs the user should not longer use directly
'../../docs/aliases/awful_client.lua', '../docs/aliases/awful_client.lua',
'../../docs/aliases/awful_screen.lua', '../docs/aliases/awful_screen.lua',
'../../docs/aliases/awful_tag.lua', '../docs/aliases/awful_tag.lua',
exclude = { exclude = {
-- exclude these modules, as they do not contain any written -- exclude these modules, as they do not contain any written
-- documentation -- documentation