From ebe42251f387edd2a1ccdd2314e4b2f271ce3fd6 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 4 Jan 2018 13:05:57 +0000 Subject: [PATCH] Use more variables in makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 68368f3..324a408 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ BASEDIR=$(PWD) -NODE_BIN=node_modules/.bin +NODE_BIN=$(BASEDIR)/node_modules/.bin STATIC_SRC=$(BASEDIR)/static/src STATIC_BUILD=$(BASEDIR)/static/build @@ -21,8 +21,8 @@ build: install cp -r $(STATIC_SRC)/img $(STATIC_BUILD)/img @hugo -vDEF --stepAnalysis --gc mkdir -p $(OUTPUT_DIR)/.well-known/ - cp static/keybase.txt public/keybase.txt - cp static/security.txt public/.well-known/security.txt + cp $(BASEDIR)/static/keybase.txt $(OUTPUT_DIR)/keybase.txt + cp $(BASEDIR)/static/security.txt $(OUTPUT_DIR)/.well-known/security.txt server: build hugo server --noHTTPCache --disableFastRender --gc