Message ID | 20220223164746.129427-1-michael.opdenacker@bootlin.com |
---|---|
State | New, archived |
Headers | show |
Series | [transition] documentation/Makefile: add "clean" make target | expand |
diff --git a/documentation/Makefile b/documentation/Makefile index 30c16943dd..564a906e20 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -6,7 +6,7 @@ SOURCEDIR = . BUILDDIR = _build TRANSITIONS = $(sort $(patsubst $(SOURCEDIR)/transition/%/index.rst,%,$(wildcard $(SOURCEDIR)/transition/*/index.rst))) -.PHONY: Makefile publish transition $(TRANSITIONS) +.PHONY: Makefile publish transition clean $(TRANSITIONS) transition: $(TRANSITIONS) @@ -20,3 +20,6 @@ publish: transition mkdir -p $(BUILDDIR)/final/$$ver ;\ cp -r $(BUILDDIR)/$$ver/html/* $(BUILDDIR)/final/$$ver/ ;\ done + +clean: + @rm -rf $(BUILDDIR)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> --- documentation/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)