From d4e552754e041e84362dd616e27937dea6d2ac75 Mon Sep 17 00:00:00 2001 From: yusing Date: Tue, 24 Feb 2026 18:12:47 +0800 Subject: [PATCH] fix(Makefile): update WEBUI_DIR and DOCS_DIR to use absolute paths Changed WEBUI_DIR to resolve to an absolute path using the current working directory, and updated DOCS_DIR to be relative to WEBUI_DIR --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 335621fb..61f0ad12 100755 --- a/Makefile +++ b/Makefile @@ -6,8 +6,8 @@ export GOOS = linux REPO_URL ?= https://github.com/yusing/godoxy -WEBUI_DIR ?= ../godoxy-webui -DOCS_DIR ?= wiki +WEBUI_DIR ?= $(shell pwd)/../godoxy-webui +DOCS_DIR ?= ${WEBUI_DIR}/wiki ifneq ($(BRANCH), compat) GO_TAGS = sonic