From 5cc3192a52f53f47c24b4df44971ec51299343be Mon Sep 17 00:00:00 2001 From: Isaac Slavitt Date: Mon, 13 Mar 2017 16:27:17 -0400 Subject: [PATCH] Add PROJECT_DIR absolute path as variable in Makefile, per #65 --- {{ cookiecutter.repo_name }}/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/{{ cookiecutter.repo_name }}/Makefile b/{{ cookiecutter.repo_name }}/Makefile index 7c37768..6184037 100644 --- a/{{ cookiecutter.repo_name }}/Makefile +++ b/{{ cookiecutter.repo_name }}/Makefile @@ -4,6 +4,7 @@ # GLOBALS # ################################################################################# +PROJECT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) BUCKET = {{ cookiecutter.s3_bucket }} PROJECT_NAME = {{ cookiecutter.repo_name }} PYTHON_INTERPRETER = {{ cookiecutter.python_interpreter }}