diff --git a/Makefile b/Makefile index 6f28ac4ed..9534f48ec 100644 --- a/Makefile +++ b/Makefile @@ -143,11 +143,15 @@ cross-compile-all: make cross-compile-linux-arm32v7 make cross-compile-linux-arm32v6 -# ensures a file is present in ui/v2.5/build since this is required -# for the embedded ui library +.PHONY: touch-ui touch-ui: +ifndef IS_WIN_SHELL @mkdir -p ui/v2.5/build @touch ui/v2.5/build/index.html +else + @if not exist "ui\\v2.5\\build" mkdir ui\\v2.5\\build + @type nul >> ui/v2.5/build/index.html +endif # Regenerates GraphQL files generate: generate-backend generate-frontend