diff mbox series

[v1,3/7] doc: use CLEANFILES instead of handcoding clean rules

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

Commit Message

Github ODP bot June 28, 2017, noon 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: c6a309f00f882fabe70fa535ebe8b765f6e9bd11
 ** Merge commit sha: ab4e27ee16b8da05ab2d4d61c58f41235cfddbcf
 **/
 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)