commit b386c53db2d376f3bd12f1ffd78edfd02f0b8ca2
parent ebd7090679b884302a1e210145f28c1e7865d1e3
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Mon, 14 Mar 2016 22:23:55 +0000
Fix update/global-links dependencies
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -89,9 +89,11 @@ install-data: $(ALL_DATA:src/etc/%=$(DESTDIR)$(datadir)/%)
ifneq ($(exthome),)
-update:
+$(DESTDIR)$(exthome): $(home)
exec $(INSTALL) -l $(notdir $(home)) $(DESTDIR)$(exthome)
+update: $(DESTDIR)$(exthome)
+
global-links: $(DESTDIR)$(exthome) $(SHARED_LIBS:lib%.so.xyzzy=$(DESTDIR)$(sproot)/library.so/lib%.so.$(version_M)) $(BIN_TARGETS:%=$(DESTDIR)$(sproot)/command/%) $(SBIN_TARGETS:%=$(DESTDIR)$(sproot)/command/%)
$(DESTDIR)$(sproot)/command/%: $(DESTDIR)$(home)/command/%