Don't build doxygen by default

This commit is contained in:
nick black 2020-02-20 00:25:59 -05:00
parent e9818fe8e8
commit 33b8ad0518
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 4 additions and 5 deletions

View File

@ -14,7 +14,7 @@ set(NOTCURSES_SHARE ${CMAKE_INSTALL_PREFIX}/share/notcurses)
###################### USER-SELECTABLE OPTIONS ###########################
option(DFSG_BUILD "DFSG build (no non-free media/code)" OFF)
option(USE_DOXYGEN "Build HTML cross reference with doxygen" ON)
option(USE_DOXYGEN "Build HTML cross reference with doxygen" OFF)
option(USE_FFMPEG "Disable FFmpeg image/video support (recommended)" ON)
option(USE_NETWORK "Allow cargo to use the network" OFF)
option(USE_PANDOC "Build man pages and HTML reference with pandoc" ON)
@ -560,6 +560,7 @@ if(${USE_PYTHON})
OUTPUT
"${CMAKE_CURRENT_BINARY_DIR}/build/pytimestamp"
COMMAND
"${Python3_EXECUTABLE}" ${SETUP_PY} egg_info &&
"${Python3_EXECUTABLE}" ${SETUP_PY} build_ext -L ${CMAKE_CURRENT_BINARY_DIR} -b ${CMAKE_CURRENT_BINARY_DIR}/python -t${CMAKE_CURRENT_BINARY_DIR}/python &&
"${Python3_EXECUTABLE}" ${SETUP_PY} build_py
DEPENDS
@ -673,7 +674,7 @@ install(FILES
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man3
)
install(FILES src/pydemo/notcurses-pydemo DESTINATION bin)
install(PROGRAMS src/pydemo/notcurses-pydemo DESTINATION bin)
install(TARGETS notcurses-demo DESTINATION bin)
install(TARGETS notcurses-input DESTINATION bin)
install(TARGETS notcurses-ncreel DESTINATION bin)
@ -698,7 +699,7 @@ if(${USE_PYTHON})
install(
CODE "execute_process(
COMMAND
${Python3_EXECUTABLE} ${SETUP_PY} install --root=${DESTDIR} --prefix=${CMAKE_INSTALL_PREFIX} --single-version-externally-managed --optimize=1 --skip-build
${Python3_EXECUTABLE} ${SETUP_PY} install --root=/ --prefix=${CMAKE_INSTALL_PREFIX} --optimize=1
WORKING_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}/python
)"

2
debian/control vendored
View File

@ -5,9 +5,7 @@ Build-Depends: cmake,
debhelper-compat (= 12),
dh-python (>= 4.20191017),
dh-sequence-python3,
dia,
doctest-dev,
doxygen (>= 1.8.16),
graphviz (>= 2.42.2),
libavformat-dev (>= 7:4.2.1),
libavutil-dev (>= 7:4.2.1),