From a3fa866390d931f506ec77c2bafd2c98fec6f444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franck=20P=C3=A9rignon?= <franck.perignon@imag.fr> Date: Wed, 4 May 2016 18:11:25 +0200 Subject: [PATCH] fix f2hysop.pyf --- CMakeLists.txt | 4 ++-- cmake/fortran_utils.cmake | 2 +- hysop/f2hysop.pyf.in | 20 -------------------- 3 files changed, 3 insertions(+), 23 deletions(-) delete mode 100755 hysop/f2hysop.pyf.in diff --git a/CMakeLists.txt b/CMakeLists.txt index a2aa26daa..5d6ec22be 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -466,8 +466,8 @@ if(DOXYGEN_FOUND) if(DOXY-NOTFOUND) message(STATUS "Warning, doxypy seems to be missing on your system. You may not be able to properly generate the documentation.") endif() - configure_file(${CMAKE_SOURCE_DIR}/DoxyConf/hysop.doxyfile.in ${CMAKE_BINARY_DIR}/DoxyConf/hysop.doxyfile) - add_custom_target(doc COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/DoxyConf/hysop.doxyfile + configure_file(${CMAKE_SOURCE_DIR}/docs/config/hysop.doxyfile.in ${CMAKE_BINARY_DIR}/docs/config/hysop.doxyfile) + add_custom_target(doc COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/docs/config/hysop.doxyfile COMMENT "Generate hysop documentation using doxygen.") else() message(STATUS "Warning : cmake cannot find doxygen on your system. It means you will not be able to generate documentation for hysop.") diff --git a/cmake/fortran_utils.cmake b/cmake/fortran_utils.cmake index 8f5679445..79c56db9b 100644 --- a/cmake/fortran_utils.cmake +++ b/cmake/fortran_utils.cmake @@ -15,7 +15,7 @@ # --> create f2hysop.pyf that will be used to generate hysop.f2hysop module. # function(write_main_pyf_file filename) - set(_file ${CMAKE_SOURCE_DIR}/${PACKAGE_NAME}/${filename}.pyf.in) + set(_file ${CMAKE_SOURCE_DIR}/${PACKAGE_NAME}/${filename}.pyf) file(WRITE ${_file} "! -*- f90 -*-\n ! Generated file - Do not edit.\n diff --git a/hysop/f2hysop.pyf.in b/hysop/f2hysop.pyf.in deleted file mode 100755 index a11194e7d..000000000 --- a/hysop/f2hysop.pyf.in +++ /dev/null @@ -1,20 +0,0 @@ -! -*- f90 -*- - -! Generated file - Do not edit. - -! Note: the context of this file is case sensitive. - -python module f2hysop ! in - - interface - ! Example - include '@CMAKE_SOURCE_DIR@/hysop/fortran/template.pyf' - ! precision - include '@CMAKE_SOURCE_DIR@/hysop/f2py/parameters.pyf' - ! fftw - include '@CMAKE_SOURCE_DIR@/hysop/f2py/fftw2py.pyf' - ! scales - include '@CMAKE_SOURCE_DIR@/hysop/f2py/scales2py.pyf' - end interface - -end python module f2hysop \ No newline at end of file -- GitLab