From 0da40540453712b836b2a2a5383c8625137964c7 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 31 Jan 2019 09:38:44 +1030 Subject: [PATCH] Makefile: fix make install to depend on plugins. Otherwise a straight "make install" gives: install: cannot stat 'plugins/pay': No such file or directory make: *** [Makefile:482: install-program] Error 1 Fixes: #2288 Signed-off-by: Rusty Russell --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 17cad95ea..069547416 100644 --- a/Makefile +++ b/Makefile @@ -475,7 +475,7 @@ PKGLIBEXEC_PROGRAMS = \ lightningd/lightning_openingd PLUGINS=plugins/pay -install-program: installdirs $(BIN_PROGRAMS) $(PKGLIBEXEC_PROGRAMS) +install-program: installdirs $(BIN_PROGRAMS) $(PKGLIBEXEC_PROGRAMS) $(PLUGINS) @$(NORMAL_INSTALL) $(INSTALL_PROGRAM) $(BIN_PROGRAMS) $(DESTDIR)$(bindir) $(INSTALL_PROGRAM) $(PKGLIBEXEC_PROGRAMS) $(DESTDIR)$(pkglibexecdir)