Be more explicit when we can't find the static content for the web ui.

Also, warn a bit mor about this in configure
This commit is contained in:
Andreas Öman 2009-09-18 19:11:06 +00:00
parent 5c04d66946
commit 793583dd44
2 changed files with 9 additions and 3 deletions

6
configure vendored
View file

@ -116,10 +116,12 @@ setup_ffmpeg --cpu=${CPU}
# Configure paths, etc
#
if [ ${RELEASE} != yes ]; then
echo NOTE:
echo NOTE: Development build.
echo NOTE: The generated binary will contained compild-in paths to
echo NOTE: the current build tree. If you plan to install the binary,
echo NOTE: please reconfigure with '--release'.
echo NOTE: the current build tree. If you plan to install or move
echo NOTE: the binary, please reconfigure with '--release'.
echo NOTE:
cat >> ${CONFIG_H} << EOF
#define TVHEADEND_CONTENT_PATH "${TOPDIR}"

View file

@ -251,7 +251,11 @@ webui_static_content(const char *content_path, const char *http_path,
}
tvhlog(LOG_ERR, "webui",
"No source path providing HTTP content: %s", http_path);
"No source path providing HTTP content: \"%s\"."
"Checked in \"%s\" and in the binary's embedded file system. "
"If you need to move or install the binary, "
"reconfigure with --release", http_path, content_path);
}