File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -814,10 +814,10 @@ installdirs:
814
814
815
815
# $(PLUGINS) is defined in plugins/Makefile.
816
816
817
- install-program : installdirs $(BIN_PROGRAMS ) $(PKGLIBEXEC_PROGRAMS ) $(PLUGINS ) $(PY_PLUGINS )
817
+ install-program : installdirs $(BIN_PROGRAMS ) $(PKGLIBEXEC_PROGRAMS ) $(PLUGINS ) $(PY_PLUGINS ) $( PLUGIN_REQUIREMENTS_TXT )
818
818
@$(NORMAL_INSTALL )
819
819
$(INSTALL_PROGRAM ) $(BIN_PROGRAMS ) $(DESTDIR )$(bindir )
820
- $(INSTALL_PROGRAM ) $(PKGLIBEXEC_PROGRAMS ) $(DESTDIR )$(pkglibexecdir )
820
+ $(INSTALL_PROGRAM ) $(PKGLIBEXEC_PROGRAMS ) $(PLUGIN_REQUIREMENTS_TXT ) $( DESTDIR )$(pkglibexecdir )
821
821
[ -z " $( PLUGINS) " ] || $(INSTALL_PROGRAM ) $(PLUGINS ) $(DESTDIR )$(plugindir )
822
822
for PY in $( PY_PLUGINS) ; do DIR=` dirname $$ PY` ; DST=$( DESTDIR) $( plugindir) /` basename $$ DIR` ; if [ -d $$ DST ]; then rm -rf $$ DST; fi ; $( INSTALL_PROGRAM) -d $$ DIR; cp -a $$ DIR $$ DST ; done
823
823
@@ -896,6 +896,10 @@ uninstall:
896
896
$(ECHO ) rm -f $(DESTDIR )$(docdir ) /` basename $$ f` ; \
897
897
rm -f $(DESTDIR )$(docdir ) /` basename $$ f` ; \
898
898
done
899
+ @for f in $(PLUGIN_REQUIREMENTS_TXT ) ; do \
900
+ $(ECHO ) rm -f $(DESTDIR )$(pkglibexecdir ) /` basename $$ f` ; \
901
+ rm -f $(DESTDIR )$(pkglibexecdir ) /` basename $$ f` ; \
902
+ done
899
903
900
904
installcheck : all-programs
901
905
@rm -rf testinstall || true
Original file line number Diff line number Diff line change @@ -20,3 +20,4 @@ cln-askrene
20
20
recklessrpc
21
21
exposesecret
22
22
cln-xpay
23
+ wss-proxy-requirements.txt
Original file line number Diff line number Diff line change @@ -307,8 +307,17 @@ ifneq ($(RUST),0)
307
307
DEFAULT_TARGETS += $(CLN_PLUGIN_EXAMPLES ) plugins/cln-grpc plugins/clnrest
308
308
endif
309
309
310
+ ifneq ($(NO_PYTHON ) , 1)
311
+ PLUGIN_REQUIREMENTS_TXT := plugins/wss-proxy-requirements.txt
312
+ plugins/wss-proxy-requirements.txt : plugins/wss-proxy/pyproject.toml plugins/wss-proxy/poetry.lock
313
+ cd plugins/wss-proxy && poetry export --without-hashes > ../../$@
314
+
315
+ all-programs : $(PLUGIN_REQUIREMENTS_TXT )
316
+ endif
317
+
310
318
clean : plugins-clean
311
319
plugins-clean :
320
+ $(RM ) $(PLUGIN_REQUIREMENTS_TXT )
312
321
$(RM ) $(PLUGINS ) $(CLN_PLUGIN_EXAMPLES )
313
322
$(RM ) plugins/sql-schema_gen.h
314
323
You can’t perform that action at this time.
0 commit comments