mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
webif: add option to disable webif content
This commit is contained in:
11
acinclude.m4
11
acinclude.m4
@@ -156,6 +156,17 @@ AC_ARG_WITH(default-oled-theme,
|
|||||||
[default_oled_theme=""])
|
[default_oled_theme=""])
|
||||||
AC_DEFINE_UNQUOTED([DEFAULT_OLED_THEME], ["$default_oled_theme"], [Default theme for oled.])
|
AC_DEFINE_UNQUOTED([DEFAULT_OLED_THEME], ["$default_oled_theme"], [Default theme for oled.])
|
||||||
|
|
||||||
|
# webif content
|
||||||
|
AC_ARG_WITH(webif,
|
||||||
|
AS_HELP_STRING([--without-webif], [disable installation of webif content within defined public httpd path provided by yWeb @<:@default it is enabled@:>@]),
|
||||||
|
[ENABLE_WEBIF="$withval"],
|
||||||
|
[ENABLE_WEBIF="yes"])
|
||||||
|
AM_CONDITIONAL(ENABLE_WEBIF,test "$ENABLE_WEBIF" = "yes")
|
||||||
|
if test "$ENABLE_WEBIF" = "yes"; then
|
||||||
|
AC_DEFINE(ENABLE_WEBIF, 1, [Enable installation of webif content within defined public httpd path provided by yWeb.])
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(target)
|
AC_MSG_CHECKING(target)
|
||||||
|
|
||||||
if test "$TARGET" = "native"; then
|
if test "$TARGET" = "native"; then
|
||||||
|
@@ -15,7 +15,6 @@ SUBDIRS = \
|
|||||||
weather \
|
weather \
|
||||||
webradio \
|
webradio \
|
||||||
webtv \
|
webtv \
|
||||||
y-web \
|
|
||||||
zapit
|
zapit
|
||||||
|
|
||||||
if ENABLE_LUA
|
if ENABLE_LUA
|
||||||
@@ -27,3 +26,8 @@ if ENABLE_GRAPHLCD
|
|||||||
SUBDIRS += \
|
SUBDIRS += \
|
||||||
oled
|
oled
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if ENABLE_WEBIF
|
||||||
|
SUBDIRS += \
|
||||||
|
y-web
|
||||||
|
endif
|
||||||
|
Reference in New Issue
Block a user