cmake: fix gen-authors target.

Also add AUTHORS.git to .gitignore.

Change-Id: I63365816fc32b33d064ebbcae0ddb607c2b37f38
Reviewed-on: https://code.wireshark.org/review/14339
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
This commit is contained in:
Dario Lombardo 2016-03-04 15:22:59 +01:00
parent b4f3255450
commit 637aefd2b3
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -147,6 +147,7 @@ packaging/rpm/SRPMS
########
*.html
*.[14]
AUTHORS.git
AUTHORS-SHORT
AUTHORS-SHORT-FORMAT
doxygen.cfg

View File

@ -2700,7 +2700,7 @@ add_custom_target(test-sh
)
ADD_CUSTOM_TARGET(
gen-authors ALL
gen-authors
COMMAND git shortlog -sne | cut -c8- > ${CMAKE_SOURCE_DIR}/AUTHORS.git
COMMAND ${PERL_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/generate_authors.pl ${CMAKE_SOURCE_DIR}/AUTHORS.src ${CMAKE_SOURCE_DIR}/AUTHORS.git > ${CMAKE_SOURCE_DIR}/AUTHORS