From b4cfd41a06bfd4133d9359731eb637e221d179bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 13 Dec 2016 20:10:03 -0500 Subject: Makefile: use $(INCLUDE_DIR) also for compilation This way we can compile against unreleased systemd: make PYTHON=python3 INCLUDE_DIR=/home/zbyszek/src/systemd/src (cd build/lib.linux-x86_64-3.5; systemd-socket-activate -E LD_LIBRARY_PATH=/home/zbyszek/src/systemd-master/.libs -l2000 -l127.0.0.1:2001 python3) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b4923e3..290ac8a 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,7 @@ update-constants: $(INCLUDE_DIR)/systemd/sd-messages.h mv docs/id128.rst{.tmp,} build: + $(PYTHON) setup.py build_ext $(if $(INCLUDE_DIR),-I$(INCLUDE_DIR)) $(PYTHON) setup.py build install: -- cgit v1.2.1