]> git.openstreetmap.org Git - nominatim.git/blobdiff - man/CMakeLists.txt
add script for in-source execution
[nominatim.git] / man / CMakeLists.txt
index 51e48d333eba76e8278f10202f7904799cb79fbb..144b9f41aa0677ad82f8405927b34b0e13fa8d06 100644 (file)
@@ -8,8 +8,8 @@ ADD_CUSTOM_TARGET(manpage
     COMMAND ${ARGPARSEMANPAGE} --pyfile ${CMAKE_CURRENT_BINARY_DIR}/create_manpage.py
     --function get_parser --project-name Nominatim
     --url https://nominatim.org  > ${CMAKE_CURRENT_SOURCE_DIR}/nominatim.1
-
-    COMMAND sed -i '/.SH AUTHORS/I,+2 d' ${CMAKE_CURRENT_SOURCE_DIR}/nominatim.1
+    --author 'the Nominatim developer community'
+    --author-email info@nominatim.org
 )
 
 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/nominatim.1 DESTINATION share/man/man1 )