Makefile: only erase protobuf and PDF files with maintainer-clean.

Reported-by: Anthony Towns
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2015-09-30 14:49:42 +09:30
parent 401bde5c6b
commit f36ba8f8e1

View File

@@ -178,6 +178,10 @@ update-ccan:
distclean: clean
$(MAKE) -C secp256k1/ distclean || true
$(RM) libsecp256k1.a
maintainter-clean: distclean
@echo 'This command is intended for maintainers to use; it'
@echo 'deletes files that may need special tools to rebuild.'
$(RM) lightning.pb-c.c lightning.pb-c.h ccan/config.h gen_version.h
$(RM) doc/deployable-lightning.pdf