diff mbox series

[API-NEXT,v1,4/10] doc: use CLEANFILES instead of handcoding clean rules

Message ID 1499378421-25511-5-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v1,1/10] travis: add cross-compilation checks | expand

Commit Message

Github ODP bot July 6, 2017, 10 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


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

Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 71 (muvarov:api-next)
 ** https://github.com/Linaro/odp/pull/71
 ** Patch: https://github.com/Linaro/odp/pull/71.patch
 ** Base sha: 15c97427d01c81dc9f4d0aafe9b0a99cdb2d1fc6
 ** Merge commit sha: e20c61ba5eae9586adcbc76e43cdfaa869055b55
 **/
 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)