[rtems commit] doc/project.am: Make texi2html and texi2any stanzas share
Joel Sherrill
joel at rtems.org
Tue Feb 26 13:59:06 UTC 2013
Module: rtems
Branch: master
Commit: e0bf7870360a0b717a71e04e6f3a6a7a4b310919
Changeset: http://git.rtems.org/rtems/commit/?id=e0bf7870360a0b717a71e04e6f3a6a7a4b310919
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Feb 25 11:55:45 2013 -0600
doc/project.am: Make texi2html and texi2any stanzas share
---
doc/project.am | 22 +++++-----------------
1 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/doc/project.am b/doc/project.am
index 6233948..b84ca3a 100644
--- a/doc/project.am
+++ b/doc/project.am
@@ -42,33 +42,21 @@ SUFFIXES += .html
if USE_HTML
-<<<<<<< HEAD
-html_project_DATA =
-=======
html_project_DATA =
+
MOSTLYCLEANFILES += $(PROJECT)*.html
html_project_DATA += *.html
->>>>>>> bdf959d... doc/project.am: Fix whitespace at EOL
-if USE_TEXI2HTML
-index.html *.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS)
+# Share as much as possible between the texi2html and texi2any rules
+*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS)
rm -rf $(PROJECT).html
+if USE_TEXI2HTML
$(TEXI2HTML) $(TEXI2HTML_ARGS) --menu $< $<
-rm -rf $(PROJECT)
-
-MOSTLYCLEANFILES += $(PROJECT)*.html
-
-html_project_DATA += *.html
endif # USE_TEXI2HTML
-
if USE_TEXI2ANY
-index.html *.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS)
- rm -rf $(PROJECT).html
$(TEXI2ANY) $(TEXI2ANY_ARGS) $<
-
-MOSTLYCLEANFILES += $(PROJECT)/*.html
-
-html_project_DATA += *.html
+ -rm -rf $(PROJECT)
endif # USE_TEXI2ANY
endif # USE_HTML
More information about the vc
mailing list