include common.mk relative to MAKE_PATH

Malar Kannan 2019-09-26 14:07:47 +05:30
parent fc539911d7
commit 8c6054944f
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))