mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
The webui Go code now lives in the infix source tree rather than being imported as an external module. Switch the module path to match that reality so the imports read coherently with the rest of the codebase. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
30 lines
953 B
Makefile
30 lines
953 B
Makefile
################################################################################
|
|
#
|
|
# webui
|
|
#
|
|
################################################################################
|
|
|
|
WEBUI_VERSION = 1.0
|
|
WEBUI_SITE_METHOD = local
|
|
WEBUI_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/webui
|
|
WEBUI_GOMOD = infix/webui
|
|
WEBUI_LICENSE = MIT
|
|
WEBUI_LICENSE_FILES = LICENSE
|
|
WEBUI_REDISTRIBUTE = NO
|
|
|
|
define WEBUI_INSTALL_EXTRA
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/webui.svc \
|
|
$(FINIT_D)/available/webui.conf
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/webui.conf \
|
|
$(TARGET_DIR)/etc/nginx/app/webui.conf
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/webui-proxy.conf \
|
|
$(TARGET_DIR)/etc/nginx/webui-proxy.conf
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/default.conf \
|
|
$(TARGET_DIR)/etc/nginx/available/default.conf
|
|
$(INSTALL) -D -m 0644 $(WEBUI_PKGDIR)/50x.html \
|
|
$(TARGET_DIR)/usr/html/50x.html
|
|
endef
|
|
WEBUI_POST_INSTALL_TARGET_HOOKS += WEBUI_INSTALL_EXTRA
|
|
|
|
$(eval $(golang-package))
|