Browse Source

Only make clean external submodules if Makefile present, fixes #1130

ppa-0.6.1
Igor Cota 7 years ago
committed by Rusty Russell
parent
commit
fc3e6782dd
  1. 6
      external/Makefile

6
external/Makefile

@ -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…
Cancel
Save