From c164d5dd460f03215164360c199742bed629b29f Mon Sep 17 00:00:00 2001 From: Hanne Moa Date: Tue, 21 Jan 2025 07:52:45 +0100 Subject: [PATCH] Add make-rule to clean built docs --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 622802477..8ef487d5f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: clean testclean distclean coverageclean cacheclean nuke tailwind +.PHONY: clean testclean distclean coverageclean cacheclean nuke tailwind docclean TAILWINDDIR=src/argus/htmx/tailwindtheme STATICDIR=src/argus/htmx/static @@ -15,6 +15,9 @@ distclean: -rm -rf ./dist -rm -rf ./build +docclean: + -rm -rf ./docs/_build + coverageclean: -rm .coverage -rm .coverage.* @@ -24,7 +27,7 @@ coverageclean: testclean: coverageclean clean -rm -rf .tox -nuke: clean distclean testclean cacheclean +nuke: clean docclean distclean testclean cacheclean tailwind: tailwindcss -c $(TAILWINDDIR)/tailwind.config.js -i $(TAILWINDDIR)/styles.css -o $(STATICDIR)/styles.css