summaryrefslogtreecommitdiffstats
path: root/libraries/allegro4/build-dir.diff
diff options
context:
space:
mode:
author Peter Wang <novalazy@gmail.com>2015-06-14 22:07:53 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-14 22:09:01 +0700
commit4689b00db89248843d64c4d2ccb86424c74d4148 (patch)
tree78bf342fd55839b7871ab794973705c0e5e14789 /libraries/allegro4/build-dir.diff
parent6e5a0ff4fd0a105e3c91e56ed3755514dacbb8e6 (diff)
downloadslackbuilds-4689b00db89248843d64c4d2ccb86424c74d4148.tar.gz
slackbuilds-4689b00db89248843d64c4d2ccb86424c74d4148.tar.xz
libraries/allegro4: Added (game programming library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/allegro4/build-dir.diff')
-rw-r--r--libraries/allegro4/build-dir.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/allegro4/build-dir.diff b/libraries/allegro4/build-dir.diff
new file mode 100644
index 0000000000..ebf13df196
--- /dev/null
+++ b/libraries/allegro4/build-dir.diff
@@ -0,0 +1,13 @@
+diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
+index 32ed053..7a429e8 100644
+--- a/docs/CMakeLists.txt
++++ b/docs/CMakeLists.txt
+@@ -72,7 +72,7 @@ foreach(page ${DOC_SRCS})
+ string(REPLACE "._tx" "" basename ${basename})
+
+ set(page ${CMAKE_CURRENT_SOURCE_DIR}/${page})
+- if(${page} MATCHES "/build/")
++ if(${page} MATCHES "/build/[^/]*[.]_tx$")
+ set(txt_out ${CMAKE_CURRENT_BINARY_DIR}/build/${basename}.txt)
+ set(html_out ${CMAKE_CURRENT_BINARY_DIR}/build/${basename}.html)
+ else()