Commit 0bba88b3 authored by Faustino Osuna's avatar Faustino Osuna

cmake: Removed VERBATIM flag, allows OS to perform command substitution --...

cmake: Removed VERBATIM flag, allows OS to perform command substitution -- resolved unexpected directory creations.
parent 01a20122
......@@ -203,7 +203,6 @@ COMMAND printf "const char psz_vlc_changeset[] = \"" >> ${rev}.tmp
COMMAND sh -c "printf `LANG=C svnversion ${CMAKE_SOURCE_DIR} || printf \"exported\"`" >> ${rev}.tmp
COMMAND echo "\";" >> ${rev}.tmp
COMMAND mv -f ${rev}.tmp ${rev}
VERBATIM
)
set(rev)
......@@ -219,7 +218,6 @@ COMMAND mkdir -p `dirname ${builtin}`
COMMAND echo "/* Auto generated by ${CMAKE_CURRENT_BUILD_DIR}/CMakeLists.txt */" > ${builtin}
COMMAND echo "int vlc_entry__main( module_t* );" >> ${builtin}
COMMAND echo "#define ALLOCATE_ALL_BUILTINS() do {} while(0)" >> ${builtin}
VERBATIM
)
set(should)
......@@ -230,7 +228,7 @@ set(about "${CMAKE_BINARY_DIR}/include/vlc_about.h")
add_custom_command(
OUTPUT ${about}
COMMAND rm -f -- "${about}.tmp"
COMMAND mkdir -p `dirname ${about}`
COMMAND mkdir -p `dirname ${about}`
COMMAND mkdir -p -- ../include
COMMAND echo "/* Automatically generated file - DO NOT EDIT */" > "${about}.tmp"
COMMAND echo "static const char psz_license[] =" >> "${about}.tmp"
......@@ -244,7 +242,7 @@ COMMAND grep N: ${CMAKE_SOURCE_DIR}/AUTHORS | cut -d "\ " -f 2- | sed "s/\"/''/g
COMMAND echo ";" >> "${about}.tmp"
COMMAND mv -f -- "${about}.tmp" "${about}"
DEPENDS ${CMAKE_SOURCE_DIR}/AUTHORS ${CMAKE_SOURCE_DIR}/THANKS ${CMAKE_SOURCE_DIR}/COPYING
VERBATIM)
)
set(about)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment