From 028ddb42d67a96dbebb4eeb4adf3d3cac7f757ff Mon Sep 17 00:00:00 2001 From: midipix Date: Apr 23 2016 20:11:16 +0000 Subject: build system: add support of project-specific install steps. --- diff --git a/Makefile.in b/Makefile.in index 7671b87..2b888d2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -60,7 +60,9 @@ install: shared: static: - +install-extras: +install-app-extras: +install-libs-extras: include $(PROJECT_DIR)/sysinfo/host/$(HOST).mk include $(PROJECT_DIR)/sysinfo/compiler/$(COMPILER).mk @@ -97,12 +99,12 @@ lib/%$(OS_ARCHIVE_EXT): all: shared static app -install: install-libs install-headers install-app +install: install-libs install-headers install-app install-extras app: default-app -install-libs: install-shared install-static install-implib +install-libs: install-shared install-static install-implib install-libs-extras install-headers:shared static mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE) @@ -116,7 +118,7 @@ install-static: static mkdir -p $(DESTDIR)$(LIBDIR) cp $(STATIC_LIB) $(DESTDIR)$(LIBDIR) -install-app: app +install-app: app install-app-extras mkdir -p $(DESTDIR)$(BINDIR) cp $(APP) $(DESTDIR)$(BINDIR)