From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@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 --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)

Reply via email to