From 4a5a37a62022cc62ae8ddeb50a804adb45c45977 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 25 Jul 2020 02:02:28 -0600 Subject: [PATCH] build: define EXECUTOR_PATH --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bd4ac20..2215799 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,18 @@ PACKAGE_BUGREPORT := https://github.com/kaniini/ifupdown-ng/issues/new INTERFACES_FILE := /etc/network/interfaces STATE_FILE := /run/ifstate +EXECUTOR_PATH := /usr/libexec/ifupdown-ng + CFLAGS ?= -ggdb3 -Os CFLAGS += -Wall -Wextra CFLAGS += ${LIBBSD_CFLAGS} -CPPFLAGS = -I. -DINTERFACES_FILE=\"${INTERFACES_FILE}\" -DSTATE_FILE=\"${STATE_FILE}\" -DPACKAGE_NAME=\"${PACKAGE_NAME}\" -DPACKAGE_VERSION=\"${PACKAGE_VERSION}\" -DPACKAGE_BUGREPORT=\"${PACKAGE_BUGREPORT}\" +CPPFLAGS = -I. +CPPFLAGS += -DINTERFACES_FILE=\"${INTERFACES_FILE}\" +CPPFLAGS += -DSTATE_FILE=\"${STATE_FILE}\" +CPPFLAGS += -DPACKAGE_NAME=\"${PACKAGE_NAME}\" +CPPFLAGS += -DPACKAGE_VERSION=\"${PACKAGE_VERSION}\" +CPPFLAGS += -DPACKAGE_BUGREPORT=\"${PACKAGE_BUGREPORT}\" +CPPFLAGS += -DEXECUTOR_PATH=\"${EXECUTOR_PATH}\" LIBIFUPDOWN_SRC = \