branch: elpa/emacsql
commit 4da29eb19d5eba5ddb5537d187ba12ea9383d062
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    make: Split up clean target
---
 Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 2b35aa423da..2830fda67d2 100644
--- a/Makefile
+++ b/Makefile
@@ -26,11 +26,14 @@ check-declare:
        @printf " Checking function declarations\n"
        @$(EMACS_BATCH) --eval "(check-declare-directory default-directory)"
 
-CLEAN = $(ELCS) $(TEST_ELCS) $(PKG)-autoloads.el
-
-clean:
-       @printf " Cleaning...\n"
-       @rm -rf $(CLEAN)
+clean: clean-lisp clean-docs clean-test
+clean-lisp:
+       @printf " Cleaning *...\n"
+       @rm -rf $(ELCS) $(PKG)-autoloads.el
+clean-docs: ;
+clean-test:
+       @printf " Cleaning test/*...\n"
+       @rm -rf $(TEST_ELCS)
 
 $(PKG)-autoloads.el: $(ELS)
        @printf " Creating $@\n"

Reply via email to