]> henry.ined.fr Git - .git/commitdiff
*** empty log message ***
authorN. Brouard <brouard@ined.fr>
Thu, 3 Sep 2015 07:14:15 +0000 (07:14 +0000)
committerN. Brouard <brouard@ined.fr>
Thu, 3 Sep 2015 07:14:15 +0000 (07:14 +0000)
CMakeLists.txt
distributions/osx/Background.png [new file with mode: 0755]
distributions/osx/Background.xcf [new file with mode: 0644]
src/Makefile

index 992fd88eacabc11e409d42ab619b01d31a5ce1e4..9d35abdfacba916d31ddf6a3a112ee73cb3411ae 100644 (file)
@@ -36,6 +36,9 @@ ADD_SUBDIRECTORY(html)
 ADD_SUBDIRECTORY(src)
 ADD_SUBDIRECTORY(distributions)
 #if (${WIN32})
+#if(APPLE)
+#  set(DOCDIR "${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/doc")
+#endif()
 if(UNIX)
   #   set(CMAKE_CXX_COMPILER "gcc")
   target_link_libraries(IMaCh-${IMACH_VERSION_MAJOR}.${IMACH_VERSION_MINOR} m)
@@ -138,9 +141,24 @@ INCLUDE(CPack)
 # else()
 #   set(VERSION_PATCH "${BUILD_VERSION_PATCH}")
 # ENDIF()
+file( GLOB_RECURSE parameter_files RELATIVE
+"${CMAKE_CURRENT_SOURCE_DIR}/html/doc" "html/*.imach" )
+foreach( parameter_file ${parameter_files} )
+  add_custom_command(
+    OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${parameter_file}"
+    COMMAND cmake -E copy
+"${CMAKE_CURRENT_SOURCE_DIR}/${parameter_file}"
+"${CMAKE_CURRENT_BINARY_DIR}/${parameter_file}"
+    DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${parameter_file}"
+  )
+  list( APPEND parameter_files_dest "${parameter_file}" )
+endforeach( parameter_file )
+
+#add_custom_target( CopyParameter ALL DEPENDS ${parameter_files_dest} )
 ENABLE_TESTING()
-SUBDIRS(html/doc)
-SUBDIRS(html/doc/data)
+ADD_SUBDIRECTORY(html/doc)
+ADD_SUBDIRECTORY(html/doc/data)
+install(FILES "${PROJECT_SOURCE_DIR}/html/doc/mypar.imach" DESTINATION "html/doc/mypar.imach")
 ADD_TEST(mypar  IMaCh-${IMACH_VERSION} html/doc/mypar.imach )
 ADD_TEST(biaspar  IMaCh-${IMACH_VERSION} html/doc/biaspar.imach )
 #SET(FAB "po" CACHE STRING "Some user-specified option")
diff --git a/distributions/osx/Background.png b/distributions/osx/Background.png
new file mode 100755 (executable)
index 0000000..93b6bb0
Binary files /dev/null and b/distributions/osx/Background.png differ
diff --git a/distributions/osx/Background.xcf b/distributions/osx/Background.xcf
new file mode 100644 (file)
index 0000000..dee3750
Binary files /dev/null and b/distributions/osx/Background.xcf differ
index d252183f56068a13f0280232e8e2a9c58864189f..9402135b7f737d666713a792295136164d2dc4f1 100644 (file)
@@ -508,8 +508,8 @@ imachdmg : imachopt.o ../distributions/osx/create-dmg ../distributions/osx/creat
 md5:
        ls Output/* | xargs md5sum
 upload:
-       rsync -v Output/IMaCh-0.98q4-icl-setup.exe brouard@henry.ined.fr:/home/euroreves/html/imach/Download
-       rsync -v Output/imach0.98q4.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download
+       rsync -v Output/IMaCh-0.98q5-icl-setup.exe brouard@henry.ined.fr:/home/euroreves/html/imach/Download
+       rsync -v Output/imach0.98q5.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download
 #      rsync -v Output/* brouard@henry.ined.fr:/home/euroreves/html/imach/Download
 
 imachcyg : imachcyg.o