Skip to content

Commit 1c7c700

Browse files
committed
Fix: Makefile
1 parent 43e61ba commit 1c7c700

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

Makefile

+16-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
PKG_NAMESPACE = yhttp.dev
22
PKG_NAME = yhttp-dev
3-
include make/common.mk
4-
include make/venv.mk
5-
include make/install.mk
6-
include make/lint.mk
7-
include make/dist.mk
8-
include make/pypi.mk
3+
4+
5+
# Assert the python-makelib version
6+
PYTHON_MAKELIB_VERSION_REQUIRED = 1.4.1
7+
8+
9+
# Ensure the python-makelib is installed
10+
PYTHON_MAKELIB_PATH = /usr/local/lib/python-makelib
11+
ifeq ("", "$(wildcard $(PYTHON_MAKELIB_PATH))")
12+
MAKELIB_URL = https://github.com/pylover/python-makelib
13+
$(error python-makelib is not installed. see "$(MAKELIB_URL)")
14+
endif
15+
16+
17+
# Include a proper bundle rule file.
18+
include $(PYTHON_MAKELIB_PATH)/venv-lint-test-pypi.mk

0 commit comments

Comments
 (0)