Build the doc with the default make target
This commit is contained in:
+2
-1
@@ -67,7 +67,7 @@ if(RONN_EXECUTABLE)
|
||||
add_custom_command(OUTPUT ${MAN_PAGE}
|
||||
COMMAND ${RONN_EXECUTABLE} --roff < ${DOC_PAGE} > ${MAN_PAGE}
|
||||
DEPENDS ${DOC_PAGE})
|
||||
add_custom_target(doc DEPENDS ${MAN_PAGE})
|
||||
add_custom_target(doc ALL DEPENDS ${MAN_PAGE})
|
||||
endif()
|
||||
|
||||
# Look for litesql and enable the database if found
|
||||
@@ -124,6 +124,7 @@ target_link_libraries(xmpp xmpplib bridge network utils logger)
|
||||
|
||||
if(USE_DATABASE)
|
||||
target_link_libraries(xmpp database)
|
||||
target_link_libraries(irc database)
|
||||
endif()
|
||||
|
||||
#
|
||||
|
||||
@@ -39,11 +39,10 @@ cmake . -DCMAKE_CXX_FLAGS="%{optflags}" \
|
||||
-DWITH_SYSTEMD=1 \
|
||||
-DWITH_LIBIDN=1
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
# The documentation is in utf-8, ronn fails to build it if that locale is
|
||||
# not specified
|
||||
LC_ALL=en_GB.utf-8 make doc
|
||||
export LC_ALL=en_GB.utf-8
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user