diff mbox series

[v2,3/8] doc: use CLEANFILES instead of handcoding clean rules

Message ID 1498734013-20982-4-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v2,1/8] doc: add IMAGES_DIR instead of specifying full path to images | expand

Commit Message

Github ODP bot June 29, 2017, 11 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 61 (lumag:docs-fix)
 ** https://github.com/Linaro/odp/pull/61
 ** Patch: https://github.com/Linaro/odp/pull/61.patch
 ** Base sha: 9b78da8e2373ab0530cfbbd72b2229059b57ddf1
 ** Merge commit sha: f6c89347fdd7243f9ed80e2c0356345f034696a9
 **/
 doc/implementers-guide/Makefile.am |  3 +--
 doc/process-guide/Makefile.am      | 15 ++-------------
 doc/users-guide/Makefile.am        |  3 +--
 3 files changed, 4 insertions(+), 17 deletions(-)
diff mbox series

Patch

diff --git a/doc/implementers-guide/Makefile.am b/doc/implementers-guide/Makefile.am
index 2d48d840..07ee141c 100644
--- a/doc/implementers-guide/Makefile.am
+++ b/doc/implementers-guide/Makefile.am
@@ -8,5 +8,4 @@  EXTRA_DIST = $(SRC)
 doc_DATA = $(TARGET)
 $(TARGET): $(SRC)
 
-clean-local:
-	rm -f  $(builddir)/$(TARGET)
+CLEANFILES = $(doc_DATA)
diff --git a/doc/process-guide/Makefile.am b/doc/process-guide/Makefile.am
index 6db7c867..5c2afb8c 100644
--- a/doc/process-guide/Makefile.am
+++ b/doc/process-guide/Makefile.am
@@ -13,19 +13,6 @@  EXTRA_DIST = bylaws-guide.adoc \
 	     $(top_srcdir)/CONTRIBUTING \
 	     $(IMAGES)
 
-all-local: bylaws-guide.html \
-	   release-guide.html \
-	   faq.html \
-	   CONTRIBUTING.html \
-	   CHANGELOG.html
-
-clean-local:
-	rm -f $(builddir)/bylaws-guide.html
-	rm -f $(builddir)/release-guide.html
-	rm -f $(builddir)/faq.html
-	rm -f $(builddir)/CONTRIBUTING.html
-	rm -f $(builddir)/CHANGELOG.html
-
 release-guide.html: release-guide.adoc \
 		    $(IMAGES_DIR)/simple_release_git.svg \
 		    $(IMAGES_DIR)/release_git.svg
@@ -45,3 +32,5 @@  CHANGELOG.html:  $(top_srcdir)/CHANGELOG
 #add deps on images
 
 doc_DATA = bylaws-guide.html release-guide.html CONTRIBUTING.html faq.html CHANGELOG.html
+
+CLEANFILES = $(doc_DATA)
diff --git a/doc/users-guide/Makefile.am b/doc/users-guide/Makefile.am
index 871e2eab..cce62e8d 100644
--- a/doc/users-guide/Makefile.am
+++ b/doc/users-guide/Makefile.am
@@ -48,5 +48,4 @@  EXTRA_DIST = $(SRC) $(IMAGES)
 doc_DATA = $(TARGET)
 $(TARGET): $(SRC) $(IMAGES)
 
-clean-local:
-	rm -f $(builddir)/$(TARGET)
+CLEANFILES = $(doc_DATA)