mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
make: remove generated files when running clean
This commit is contained in:
parent
d22fd59997
commit
78fb78478b
2
Makefile
2
Makefile
@ -610,7 +610,6 @@ distclean: clean
|
||||
maintainer-clean: distclean
|
||||
@echo 'This command is intended for maintainers to use; it'
|
||||
@echo 'deletes files that may need special tools to rebuild.'
|
||||
$(RM) $(ALL_GEN_HEADERS) $(ALL_GEN_SOURCES)
|
||||
|
||||
# We used to have gen_ files, now we have _gen files.
|
||||
obsclean:
|
||||
@ -618,6 +617,7 @@ obsclean:
|
||||
|
||||
clean: obsclean
|
||||
$(RM) $(CCAN_OBJS) $(CDUMP_OBJS) $(ALL_OBJS)
|
||||
$(RM) $(ALL_GEN_HEADERS) $(ALL_GEN_SOURCES)
|
||||
$(RM) $(ALL_PROGRAMS)
|
||||
$(RM) $(ALL_TEST_PROGRAMS)
|
||||
$(RM) $(ALL_FUZZ_TARGETS)
|
||||
|
@ -46,7 +46,8 @@ wallet/db_%_sqlgen.c: wallet/statements_gettextgen.po devtools/sql-rewrite.py $(
|
||||
$(call VERBOSE,"sql-rewrite $@",devtools/sql-rewrite.py wallet/statements_gettextgen.po $* > $@ && $(call SHA256STAMP,//,)); \
|
||||
fi
|
||||
|
||||
maintainer-clean: wallet-maintainer-clean
|
||||
maintainer-clean: clean
|
||||
clean: wallet-maintainer-clean
|
||||
wallet-maintainer-clean:
|
||||
$(RM) wallet/statements.po
|
||||
$(RM) wallet/statements_gettextgen.po
|
||||
|
Loading…
Reference in New Issue
Block a user