Fix installation rules for man pages: don't install gromacs.7.cmakein
[alexxy/gromacs.git] / CPackInit.cmake
index d0f255a8bd6f879fc307b8b1f3f3a384cad78359..20d2c2369510a415d03d9a2bf2327d70c5fcc946 100644 (file)
@@ -4,5 +4,5 @@ if(CPACK_SOURCE_PACKAGE_FILE_NAME AND NOT EXISTS "${CMAKE_BINARY_DIR}/man/man1/n
     message(FATAL_ERROR 
         "To generate correct source package all man pages need to be generated. "
         "The man pages are automatically build together with the binaries. "
-        "Make sure to build all binaries (e.g. GMX_X11=on). ${CMAKE_SOURCE_DIR}/man/man1/ngmx.1")
+        "Make sure to build all binaries (e.g. GMX_X11=on).")
 endif()