From 9c1ec9090c2838edcae02fa2f2d8d68701178052 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Fri, 27 Feb 2026 11:58:13 +0300 Subject: [PATCH 1/2] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b8bc5b5..b57c00b 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ export DB_CONNECTION := postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@servi # Internal hidden targets that are used only in docker environment --in-docker-start-debug --in-docker-start-release: --in-docker-start-%: install-% - mkdir -p ./postgresql/data + mkdir -p ./postgresql/data touch ./postgresql/data/initial_data.sql psql ${DB_CONNECTION} -f ./postgresql/data/initial_data.sql /home/user/.local/bin/realmedium_sample \ From 92734b3b0b8e0db8341ed48b82874c84575a39f1 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Fri, 27 Feb 2026 12:31:11 +0300 Subject: [PATCH 2/2] Update Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b57c00b..eec3ea8 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,10 @@ dist-clean: # Install .PHONY: install-debug install-release install-debug install-release: install-%: build-% + cmake --install build_$* -v --component realmedium_sample + +.PHONY: install-prefixed-debug install-prefixed-release +install-prefixed-debug install-prefixed-release: install-prefixed-%: build-% cmake --install build_$* -v --component realmedium_sample --prefix /home/user/.local .PHONY: install @@ -90,7 +94,7 @@ format: export DB_CONNECTION := postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@service-postgres:5432/${POSTGRES_DB} # Internal hidden targets that are used only in docker environment ---in-docker-start-debug --in-docker-start-release: --in-docker-start-%: install-% +--in-docker-start-debug --in-docker-start-release: --in-docker-start-%: install-prefixed-% mkdir -p ./postgresql/data touch ./postgresql/data/initial_data.sql psql ${DB_CONNECTION} -f ./postgresql/data/initial_data.sql