cmake: Add VERBATIM back. Apparently this could be a cmake issue. Need to investigate.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 21:07:08 +0000 (21:07 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 21:07:08 +0000 (21:07 +0000)
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt

index 9004483..fdd4434 100644 (file)
@@ -203,6 +203,7 @@ 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)
 
@@ -218,6 +219,7 @@ 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)
 
@@ -227,9 +229,8 @@ set(about "${CMAKE_BINARY_DIR}/include/vlc_about.h")
 
 add_custom_command(
 OUTPUT ${about}
-COMMAND rm -f -- "${about}.tmp"
+COMMAND rm -f "${about}.tmp"
 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"
 COMMAND cat ${CMAKE_SOURCE_DIR}/COPYING | sed s/\"/''/g | awk "{ print \"\\\"\"$0\"\\\\n\\\"\" }" >> "${about}.tmp"
@@ -242,6 +243,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)