mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
Only make clean external submodules if Makefile present, fixes #1130
This commit is contained in:
parent
a20cf5463d
commit
fc3e6782dd
6
external/Makefile
vendored
6
external/Makefile
vendored
@ -82,9 +82,9 @@ clean: external-clean
|
||||
|
||||
external-clean:
|
||||
$(RM) $(EXTERNAL_LIBS) external/*.la external/*.o
|
||||
make -C external/libsodium clean
|
||||
make -C external/libwally-core clean
|
||||
make -C external/libwally-core/src clean
|
||||
if [ -f external/libsodium/Makefile ]; then make -C external/libsodium clean; fi
|
||||
if [ -f external/libwally-core/Makefile ]; then make -C external/libwally-core clean; fi
|
||||
if [ -f external/ibwally-core/src/Makefile ]; then make -C external/libwally-core/src clean; fi
|
||||
|
||||
external-distclean:
|
||||
make -C external/libsodium distclean || true
|
||||
|
Loading…
Reference in New Issue
Block a user