Browse Source

wallet/Makefile: fix wallet_clean vs wallet-clean typo.

And remove toplevel target we no longer try to support.

Reported-byL @niftynei
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
bump-pyln-proto
Rusty Russell 4 years ago
parent
commit
8670cb333f
  1. 6
      wallet/Makefile

6
wallet/Makefile

@ -1,9 +1,5 @@
#! /usr/bin/make #! /usr/bin/make
# Designed to be run one level up
wallet-wrongdir:
$(MAKE) -C .. lightningd-all
WALLET_LIB_SRC := \ WALLET_LIB_SRC := \
wallet/db.c \ wallet/db.c \
wallet/invoices.c \ wallet/invoices.c \
@ -46,7 +42,7 @@ wallet/statements_gettextgen.po: $(SQL_FILES) FORCE
wallet/db_%_sqlgen.c: wallet/statements_gettextgen.po devtools/sql-rewrite.py FORCE wallet/db_%_sqlgen.c: wallet/statements_gettextgen.po devtools/sql-rewrite.py FORCE
@if $(call SHA256STAMP_CHANGED,); then $(call VERBOSE,"sql-rewrite $@",devtools/sql-rewrite.py wallet/statements.po $* > $@ && $(call SHA256STAMP,,//)); fi @if $(call SHA256STAMP_CHANGED,); then $(call VERBOSE,"sql-rewrite $@",devtools/sql-rewrite.py wallet/statements.po $* > $@ && $(call SHA256STAMP,,//)); fi
clean: wallet_clean clean: wallet-clean
wallet-clean: wallet-clean:
$(RM) wallet/statements.po $(RM) wallet/statements.po
$(RM) wallet/gen_db_sqlite3.c $(RM) wallet/gen_db_sqlite3.c

Loading…
Cancel
Save