doc: delete generated files on make clean
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 18 Feb 2019 13:19:51 +0000 (14:19 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 18 Feb 2019 13:20:32 +0000 (14:20 +0100)
Delete the entire doc directory when running make clean.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Makefile.am

index fee02c31c1820e5490be32816190c161a24935d6..e7af4299b38e0d492424a0173d1a59efb0cbcd94 100644 (file)
@@ -27,6 +27,9 @@ doc:
                echo INPUT += bindings/cxx/gpiod.hpp) | doxygen -
 .PHONY: doc
 
+clean-local:
+       rm -rf doc
+
 EXTRA_DIST = Doxyfile
 
 endif