diff --git a/CMakeLists.txt b/CMakeLists.txt index 32a9eed5ce..8688da4bf5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -185,6 +185,7 @@ endif() foreach(share_dir workflows gui forward-models) install(DIRECTORY "share/ert/${share_dir}" DESTINATION ${SHARE_DIR}) endforeach() + install_example("share/ert/site-config" ${SHARE_DIR}) install(PROGRAMS bin/job_dispatch.py DESTINATION bin ) @@ -198,6 +199,12 @@ if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMAKELISTS.TXT") set(ln_name ${CMAKE_INSTALL_PREFIX}/${SHARE_DIR}/forward-models/res/${uc_job}) INSTALL(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${ln_target} ${ln_name})") endforeach() + foreach (script careful_copy_file copy_directory copy_file delete_directory delete_file make_directory move_file symlink make_symlink) + string(TOUPPER ${script} uc_scrip) + set(ln_target ${CMAKE_INSTALL_PREFIX}/${SHARE_DIR}/forward-models/shell/${script}_compatibility) + set(ln_name ${CMAKE_INSTALL_PREFIX}/${SHARE_DIR}/forward-models/shell/${uc_scrip}) + INSTALL(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${ln_target} ${ln_name})") + endforeach() endif() foreach (script ecl100 ecl300 flow rms) diff --git a/share/ert/forward-models/shell/careful_copy_file b/share/ert/forward-models/shell/careful_copy_file new file mode 100644 index 0000000000..d2ff867dd9 --- /dev/null +++ b/share/ert/forward-models/shell/careful_copy_file @@ -0,0 +1 @@ +EXECUTABLE script/careful_copy_file diff --git a/share/ert/forward-models/shell/CAREFUL_COPY_FILE b/share/ert/forward-models/shell/careful_copy_file_compatibility similarity index 90% rename from share/ert/forward-models/shell/CAREFUL_COPY_FILE rename to share/ert/forward-models/shell/careful_copy_file_compatibility index 7ebc5b29b6..79beb48c7b 100644 --- a/share/ert/forward-models/shell/CAREFUL_COPY_FILE +++ b/share/ert/forward-models/shell/careful_copy_file_compatibility @@ -6,4 +6,4 @@ ARGLIST MIN_ARG 2 MAX_ARG 2 ARG_TYPE 0 STRING -ARG_TYPE 1 STRING \ No newline at end of file +ARG_TYPE 1 STRING diff --git a/share/ert/forward-models/shell/copy_directory b/share/ert/forward-models/shell/copy_directory new file mode 100644 index 0000000000..d1f5c518d6 --- /dev/null +++ b/share/ert/forward-models/shell/copy_directory @@ -0,0 +1 @@ +EXECUTABLE script/copy_directory diff --git a/share/ert/forward-models/shell/COPY_DIRECTORY b/share/ert/forward-models/shell/copy_directory_compatibility similarity index 100% rename from share/ert/forward-models/shell/COPY_DIRECTORY rename to share/ert/forward-models/shell/copy_directory_compatibility diff --git a/share/ert/forward-models/shell/copy_file b/share/ert/forward-models/shell/copy_file new file mode 100644 index 0000000000..573977dc38 --- /dev/null +++ b/share/ert/forward-models/shell/copy_file @@ -0,0 +1 @@ +EXECUTABLE script/copy_file diff --git a/share/ert/forward-models/shell/COPY_FILE b/share/ert/forward-models/shell/copy_file_compatibility similarity index 100% rename from share/ert/forward-models/shell/COPY_FILE rename to share/ert/forward-models/shell/copy_file_compatibility diff --git a/share/ert/forward-models/shell/delete_directory b/share/ert/forward-models/shell/delete_directory new file mode 100644 index 0000000000..2ea6bfc79d --- /dev/null +++ b/share/ert/forward-models/shell/delete_directory @@ -0,0 +1 @@ +EXECUTABLE script/delete_directory diff --git a/share/ert/forward-models/shell/DELETE_DIRECTORY b/share/ert/forward-models/shell/delete_directory_compatibility similarity index 99% rename from share/ert/forward-models/shell/DELETE_DIRECTORY rename to share/ert/forward-models/shell/delete_directory_compatibility index ca5ae51cca..133125e01b 100644 --- a/share/ert/forward-models/shell/DELETE_DIRECTORY +++ b/share/ert/forward-models/shell/delete_directory_compatibility @@ -7,4 +7,3 @@ ARGLIST MIN_ARG 1 MAX_ARG 1 ARG_TYPE 0 STRING - diff --git a/share/ert/forward-models/shell/delete_file b/share/ert/forward-models/shell/delete_file new file mode 100644 index 0000000000..caeacf17c1 --- /dev/null +++ b/share/ert/forward-models/shell/delete_file @@ -0,0 +1 @@ +EXECUTABLE script/delete_file diff --git a/share/ert/forward-models/shell/DELETE_FILE b/share/ert/forward-models/shell/delete_file_compatibility similarity index 99% rename from share/ert/forward-models/shell/DELETE_FILE rename to share/ert/forward-models/shell/delete_file_compatibility index 7a3ee4b122..6fbc958c47 100644 --- a/share/ert/forward-models/shell/DELETE_FILE +++ b/share/ert/forward-models/shell/delete_file_compatibility @@ -7,4 +7,3 @@ ARGLIST MIN_ARG 1 MAX_ARG 1 ARG_TYPE 0 STRING - diff --git a/share/ert/forward-models/shell/make_directory b/share/ert/forward-models/shell/make_directory new file mode 100644 index 0000000000..d4330c4235 --- /dev/null +++ b/share/ert/forward-models/shell/make_directory @@ -0,0 +1 @@ +EXECUTABLE script/make_directory diff --git a/share/ert/forward-models/shell/MAKE_DIRECTORY b/share/ert/forward-models/shell/make_directory_compatibility similarity index 100% rename from share/ert/forward-models/shell/MAKE_DIRECTORY rename to share/ert/forward-models/shell/make_directory_compatibility diff --git a/share/ert/forward-models/shell/make_symlink b/share/ert/forward-models/shell/make_symlink new file mode 100644 index 0000000000..96585cafc7 --- /dev/null +++ b/share/ert/forward-models/shell/make_symlink @@ -0,0 +1 @@ +EXECUTABLE script/symlink diff --git a/share/ert/forward-models/shell/SYMLINK b/share/ert/forward-models/shell/make_symlink_compatibility similarity index 99% rename from share/ert/forward-models/shell/SYMLINK rename to share/ert/forward-models/shell/make_symlink_compatibility index 1ce7de82ff..9b0849e878 100644 --- a/share/ert/forward-models/shell/SYMLINK +++ b/share/ert/forward-models/shell/make_symlink_compatibility @@ -10,4 +10,3 @@ MIN_ARG 2 MAX_ARG 2 ARG_TYPE 0 STRING ARG_TYPE 1 STRING - diff --git a/share/ert/forward-models/shell/move_file b/share/ert/forward-models/shell/move_file new file mode 100644 index 0000000000..f3c331f7e6 --- /dev/null +++ b/share/ert/forward-models/shell/move_file @@ -0,0 +1 @@ +EXECUTABLE script/move_file diff --git a/share/ert/forward-models/shell/MOVE_FILE b/share/ert/forward-models/shell/move_file_compatibility similarity index 100% rename from share/ert/forward-models/shell/MOVE_FILE rename to share/ert/forward-models/shell/move_file_compatibility diff --git a/share/ert/forward-models/shell/symlink b/share/ert/forward-models/shell/symlink new file mode 100644 index 0000000000..96585cafc7 --- /dev/null +++ b/share/ert/forward-models/shell/symlink @@ -0,0 +1 @@ +EXECUTABLE script/symlink diff --git a/share/ert/forward-models/shell/MAKE_SYMLINK b/share/ert/forward-models/shell/symlink_compatibility similarity index 99% rename from share/ert/forward-models/shell/MAKE_SYMLINK rename to share/ert/forward-models/shell/symlink_compatibility index 1ce7de82ff..9b0849e878 100644 --- a/share/ert/forward-models/shell/MAKE_SYMLINK +++ b/share/ert/forward-models/shell/symlink_compatibility @@ -10,4 +10,3 @@ MIN_ARG 2 MAX_ARG 2 ARG_TYPE 0 STRING ARG_TYPE 1 STRING -