doc: updated as reported in http://dev.exiv2.org/boards/3/topics/1364 Thanks to Benjamin for bringing this to our attention.

v0.27.3
Robin Mills 13 years ago
parent 0dc551c918
commit c58081c017

@ -189,6 +189,18 @@ ADD_CUSTOM_TARGET(tests COMMAND make test "EXIV2_BINDIR=${CMAKE_BINARY_DIR}/bin
ADD_CUSTOM_TARGET(teste COMMAND make teste "EXIV2_BINDIR=${CMAKE_BINARY_DIR}/bin" WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/test/" )
ADD_CUSTOM_TARGET(testv COMMAND make testv "EXIV2_BINDIR=${CMAKE_BINARY_DIR}/bin" WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/test/" )
##
# http://dev.exiv2.org/boards/3/topics/1364
# copy the taglist to be used to make docs
IF( MINGW OR UNIX OR APPLE)
ADD_CUSTOM_TARGET(doc
COMMAND mkdir -p "${CMAKE_SOURCE_DIR}/src/bin"
COMMAND cp -f "${CMAKE_BINARY_DIR}/bin/taglist" "${CMAKE_SOURCE_DIR}/src/bin"
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/doc/"
COMMAND make doc
)
ENDIF()
##
# support for test suite TODO: fixup for MSVC and think a bit more before deploying this
# ENABLE_TESTING()

@ -68,8 +68,15 @@ doxygen:
doxygen $(top_srcdir)/config/Doxyfile
tags:
cp -f $(top_srcdir)/src/bin/taglist $(top_srcdir)/src
mkdir -p $(top_srcdir)/doc/html
rm -rf $(top_srcdir)/doc/html
mkdir -p $(top_srcdir)/doc/html
cd $(top_srcdir)/doc/templates && $(MAKE) all
cp -f $(top_srcdir)/doc/templates/*.html $(top_srcdir)/doc/html/
@echo "*****************************"
@echo "*** if you got lots of errors, try modifying" $(realpath $(top_srcdir)/config/Doxyfile) "***"
@echo "*****************************"
mostlyclean clean:
$(RM) *~ *.bak *#

Loading…
Cancel
Save