From fdef025a909e2410aefbe335e3255ab64919c646 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 26 Sep 2014 19:29:25 +0200 Subject: make derp + sed config.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 28bf9eb..b01123d 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,12 @@ OBJ_mds-registry_ = mds-registry util globals reexec registry signals \ OBJ_mds-server = $(foreach O,$(OBJ_mds-server_),obj/mds-server/$(O).o) OBJ_mds-registry = $(foreach O,$(OBJ_mds-registry_),obj/mds-registry/$(O).o) +ifneq ($(LIBMDSSERVER_IS_INSTALLED),y) +SEDED = src/libmdsserver/config.h +else +SEDED = +endif + # Build rules. @@ -51,5 +57,5 @@ perms: all .PHONY: clean clean: - -rm -rf obj bin + -rm -rf obj bin $(SEDED) -- cgit v1.2.3-70-g09d2