include common.mk relative to MAKE_PATH
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Suitable for dockerfile based services
|
||||
.PHONY: clean clean-test clean-pyc clean-build docs help common.mk
|
||||
.DEFAULT_GOAL := help
|
||||
MAKE_PATH := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||
|
||||
NET_NAME := docker_net
|
||||
SERVICE := docker_image
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
# Suitable for python monorepo with packages in subdirectories(contains project.mk)
|
||||
.PHONY : _forward Makefile common.mk
|
||||
.DEFAULT_GOAL := help
|
||||
MAKE_PATH := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||
|
||||
include common.mk
|
||||
include ${MAKE_PATH}/common.mk
|
||||
|
||||
SUBPKGS := $(patsubst %setup.py,%,$(wildcard */setup.py))
|
||||
$(warning SUBPKGS is $(SUBPKGS))
|
||||
|
||||
Reference in New Issue
Block a user