diff --git a/idma.mk b/idma.mk index 1ddf636c..37230233 100644 --- a/idma.mk +++ b/idma.mk @@ -34,10 +34,10 @@ IDMA_BENDER_FILES := $(IDMA_ROOT)/Bender.yml \ # Helper functions # Relative paths for VLOGAN -IDMA_VLOGAN_REL_PATHS := | grep -v "ROOT=" | sed '3 i ROOT="."' +IDMA_VLOGAN_REL_PATHS := | grep -v "ROOT=" | sed '3 i ROOT="../../.."' # Morty helpers IDMA_PATH_ESCAPED := $(shell pwd | sed 's_/_\\/_g') -IDMA_RELATIVE_PATH_REGEX := 's/$(IDMA_PATH_ESCAPED)/..\/..\/../' +IDMA_RELATIVE_PATH_REGEX := 's/$(IDMA_PATH_ESCAPED)/./' # Ensure half-built targets are purged .DELETE_ON_ERROR: