From 664aee80cea90986c3ff687eb863e459e6332c00 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 2 Nov 2024 17:29:05 +0100 Subject: always overwrite the MAKEFILE path variables This is needed if common.mk in included from a Makefile in another directory subtree in order to have working paths to the pandoc/latex files. --- common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index 871a662a..fdf58c05 100644 --- a/common.mk +++ b/common.mk @@ -1,7 +1,7 @@ # The full path to the Makefile -MAKEFILE_PATH ?= $(abspath $(lastword $(MAKEFILE_LIST))) +MAKEFILE_PATH = $(abspath $(lastword $(MAKEFILE_LIST))) # The path to the directory of the Makefile -MAKEFILE_DIR ?= $(dir $(MAKEFILE_PATH)) +MAKEFILE_DIR = $(dir $(MAKEFILE_PATH)) IMGS := $(wildcard img/*) -- cgit v1.2.3