Browse Source

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 <rusty@rustcorp.com.au>
fix-test_pay_direct-flake
Rusty Russell 6 years ago
committed by Christian Decker
parent
commit
0da4054045
  1. 2
      Makefile

2
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)

Loading…
Cancel
Save