From 186a244c1b2f60a7e671009156b34df049196f04 Mon Sep 17 00:00:00 2001 From: Hanne Moa Date: Fri, 10 Nov 2023 13:41:58 +0100 Subject: [PATCH] Add make-rule for cleaning doc-directory --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 595db8be1c..a805f48b6e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: dummy clean distclean testclean doc .FORCE +.PHONY: dummy clean distclean testclean docclean doc .FORCE dummy: @echo "'make' is no longer used for deployment. See 'doc/intro/install.rst'" @@ -19,6 +19,9 @@ testclean: clean -rm python/nav/web/static/js/package-lock.json -rm -rf .tox +docclean: + -rm -rf doc/_build + doc: doc/reference/alerttypes.rst doc/reference/alerttypes.rst: .FORCE