include common.mk relative to MAKE_PATH

master
Alaudidae Lark 2019-10-04 17:05:44 +05:30
parent 9e8973e5ab
commit 30e0349469
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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))