db: build into the db directory

This commit is contained in:
Adhityaa 2018-06-03 14:04:56 +05:30
parent e0f9679694
commit c6222208cf

View File

@ -6,9 +6,9 @@ PROD_BUILD_DIR = $(BUILD_DIR)/prod
DB_SRC_DIR = . DB_SRC_DIR = .
DB_SRC_FILES = $(wildcard $(DB_SRC_DIR)/*.sql) DB_SRC_FILES = $(wildcard $(DB_SRC_DIR)/*.sql)
DB_DEVEL_BUILD_DIR = $(DEVEL_BUILD_DIR) DB_DEVEL_BUILD_DIR = $(DEVEL_BUILD_DIR)/db
DB_DEVEL_BUILD_FILES = $(patsubst $(DB_SRC_DIR)/%, $(DB_DEVEL_BUILD_DIR)/%, $(DB_SRC_FILES)) DB_DEVEL_BUILD_FILES = $(patsubst $(DB_SRC_DIR)/%, $(DB_DEVEL_BUILD_DIR)/%, $(DB_SRC_FILES))
DB_PROD_BUILD_DIR = $(PROD_BUILD_DIR) DB_PROD_BUILD_DIR = $(PROD_BUILD_DIR)/db
DB_PROD_BUILD_FILES = $(patsubst $(DB_SRC_DIR)/%, $(DB_PROD_BUILD_DIR)/%, $(DB_SRC_FILES)) DB_PROD_BUILD_FILES = $(patsubst $(DB_SRC_DIR)/%, $(DB_PROD_BUILD_DIR)/%, $(DB_SRC_FILES))
devel: devel-db devel: devel-db