Skip to content

Commit

Permalink
Only make clean external submodules if Makefile present, fixes Elemen…
Browse files Browse the repository at this point in the history
  • Loading branch information
icota authored and rustyrussell committed Feb 28, 2018
1 parent a20cf54 commit fc3e678
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions external/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc3e678

Please sign in to comment.