aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-26 19:29:25 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-26 20:25:00 +0200
commitfdef025a909e2410aefbe335e3255ab64919c646 (patch)
treeff90581fe18de725f73579008f6c31342cf7af72 /Makefile
parentupdate readme (diff)
downloadmds-fdef025a909e2410aefbe335e3255ab64919c646.tar.gz
mds-fdef025a909e2410aefbe335e3255ab64919c646.tar.bz2
mds-fdef025a909e2410aefbe335e3255ab64919c646.tar.xz
make derp + sed config.h
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
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)