Makefile: clean needs to do more, distclean should remove everything.
I checked this with git status --ignored after a full build and 'make distclean'. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
9bcb01e710
commit
af7e6158af
6
external/Makefile
vendored
6
external/Makefile
vendored
@@ -84,11 +84,11 @@ distclean: external-distclean
|
||||
clean: external-clean
|
||||
|
||||
external-clean:
|
||||
$(RM) $(EXTERNAL_LIBS)
|
||||
$(RM) $(EXTERNAL_LIBS) external/*.la external/*.o
|
||||
|
||||
external-distclean:
|
||||
make -C external/libsodium distclean || true
|
||||
$(RM) -rf external/libbacktrace-build
|
||||
$(RM) external/libsodium.la external/libsodium/src/libsodium/libsodium.la
|
||||
$(RM) external/libsodium/src/libsodium/libsodium.la
|
||||
$(RM) external/libwally-core/src/secp256k1/libsecp256k1.la external/libwally-core/src/libwallycore.la
|
||||
cd external/libwally-core && tools/cleanup.sh
|
||||
$(RM) -r `git status --ignored --porcelain external/libwally-core | grep '^!! ' | cut -c3-`
|
||||
|
||||
Reference in New Issue
Block a user