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