From f36ba8f8e1fe3818396b4b8833052f264d4fd303 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 30 Sep 2015 14:49:42 +0930 Subject: [PATCH] Makefile: only erase protobuf and PDF files with maintainer-clean. Reported-by: Anthony Towns Signed-off-by: Rusty Russell --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6a99b80d2..2509cb6cc 100644 --- a/Makefile +++ b/Makefile @@ -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