aboutsummaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-11-02 17:29:05 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2024-11-02 17:29:05 +0100
commit664aee80cea90986c3ff687eb863e459e6332c00 (patch)
tree68abdb6b767fa4f9fc96e9ae70cbe7d92b0657f6 /common.mk
parent221d199db8204dc1a717f6c2e46393dd1a131eb9 (diff)
downloadunterricht-664aee80cea90986c3ff687eb863e459e6332c00.tar.gz
unterricht-664aee80cea90986c3ff687eb863e459e6332c00.zip
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.
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 2 insertions, 2 deletions
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/*)