templates: build into the templates directory

This commit is contained in:
Adhityaa 2018-06-03 16:40:06 +05:30
parent c6222208cf
commit 01d1b1dbdf

View File

@ -6,9 +6,9 @@ PROD_BUILD_DIR = $(BUILD_DIR)/prod
TEMPLATES_SRC_DIR = . TEMPLATES_SRC_DIR = .
TEMPLATES_SRC_FILES = $(wildcard $(TEMPLATES_SRC_DIR)/*.tmpl) TEMPLATES_SRC_FILES = $(wildcard $(TEMPLATES_SRC_DIR)/*.tmpl)
TEMPLATES_DEVEL_BUILD_DIR = $(DEVEL_BUILD_DIR) TEMPLATES_DEVEL_BUILD_DIR = $(DEVEL_BUILD_DIR)/templates
TEMPLATES_DEVEL_BUILD_FILES = $(patsubst $(TEMPLATES_SRC_DIR)/%, $(TEMPLATES_DEVEL_BUILD_DIR)/%, $(TEMPLATES_SRC_FILES)) TEMPLATES_DEVEL_BUILD_FILES = $(patsubst $(TEMPLATES_SRC_DIR)/%, $(TEMPLATES_DEVEL_BUILD_DIR)/%, $(TEMPLATES_SRC_FILES))
TEMPLATES_PROD_BUILD_DIR = $(PROD_BUILD_DIR) TEMPLATES_PROD_BUILD_DIR = $(PROD_BUILD_DIR)/templates
TEMPLATES_PROD_BUILD_FILES = $(patsubst $(TEMPLATES_SRC_DIR)/%, $(TEMPLATES_PROD_BUILD_DIR)/%, $(TEMPLATES_SRC_FILES)) TEMPLATES_PROD_BUILD_FILES = $(patsubst $(TEMPLATES_SRC_DIR)/%, $(TEMPLATES_PROD_BUILD_DIR)/%, $(TEMPLATES_SRC_FILES))
devel: devel-templates devel: devel-templates