forked from osmocom/wireshark
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:
parent
b4f3255450
commit
637aefd2b3
|
@ -147,6 +147,7 @@ packaging/rpm/SRPMS
|
||||||
########
|
########
|
||||||
*.html
|
*.html
|
||||||
*.[14]
|
*.[14]
|
||||||
|
AUTHORS.git
|
||||||
AUTHORS-SHORT
|
AUTHORS-SHORT
|
||||||
AUTHORS-SHORT-FORMAT
|
AUTHORS-SHORT-FORMAT
|
||||||
doxygen.cfg
|
doxygen.cfg
|
||||||
|
|
|
@ -2700,7 +2700,7 @@ add_custom_target(test-sh
|
||||||
)
|
)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(
|
ADD_CUSTOM_TARGET(
|
||||||
gen-authors ALL
|
gen-authors
|
||||||
COMMAND git shortlog -sne | cut -c8- > ${CMAKE_SOURCE_DIR}/AUTHORS.git
|
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
|
COMMAND ${PERL_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/generate_authors.pl ${CMAKE_SOURCE_DIR}/AUTHORS.src ${CMAKE_SOURCE_DIR}/AUTHORS.git > ${CMAKE_SOURCE_DIR}/AUTHORS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue