kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 19573a7bf004fe452e7b3b44174560380a4bbefb
parent a62c504a4027f0cea99b3a4ff5346fef4cb91c2f
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 11 Sep 2020 15:49:11 +0200

Also add DESTDIR in the uninstall targets in kore and kodev Makefiles.

Diffstat:
Makefile | 6+++---
kodev/Makefile | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -221,9 +221,9 @@ install-sources: fi uninstall: - rm -f $(INSTALL_DIR)/$(KORE) - rm -rf $(INCLUDE_DIR) - rm -rf $(SHARE_DIR) + rm -f $(DESTDIR)$(INSTALL_DIR)/$(KORE) + rm -rf $(DESTDIR)$(INCLUDE_DIR) + rm -rf $(DESTDIR)$(SHARE_DIR) $(MAKE) -C kodev uninstall tools-build: $(KODEV) diff --git a/kodev/Makefile b/kodev/Makefile @@ -47,7 +47,7 @@ install: $(KODEV) install -m 555 $(KODEV) $(DESTDIR)$(INSTALL_DIR)/$(KODEV) uninstall: - rm -f $(INSTALL_DIR)/$(KODEV) + rm -f $(DESTDIR)$(INSTALL_DIR)/$(KODEV) $(OBJDIR)/%.o: ../src/%.c $(CC) $(CFLAGS) -c $< -o $@