The initial error is caused by the main CMakeLists.txt, around line 454
IF(NOT EXISTS ${DESTDIR}${CONFIGDIR}/wt_config.xml)
INSTALL(FILES ${WT_BINARY_DIR}/wt_config.xml DESTINATION
${DESTDIR}${CONFIGDIR})
ENDIF (NOT EXISTS ${DESTDIR}${CONFIGDIR}/wt_config.xml)
when having a previous version of Wt installed at the time of building a
new package, this section is skipped. It checks if /etc/wt/wt_config.xml
exists, which is true when the package is installed. This condition is
apparently not reevaluated when setting DESTDIR when installing.
To remedy the situation above, I've added an INSTALL_CONFIG option,
OPTION(INSTALL_CONFIG "Install configuration files" ON)
and rewrote the section above to
IF(INSTALL_CONFIG)
INSTALL(FILES ${WT_BINARY_DIR}/wt_config.xml DESTINATION
${DESTDIR}${CONFIGDIR})
ENDIF (INSTALL_CONFIG)
which fixes the situation.
The other error is caused by the jquery.min.js file which is brought in
by the package by default. When running dpkg-buildpackage without
cleaning (-nc), the original file is not deleted, and the symlink not
created because that file exists.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org