diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-06-05 11:03:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-06-05 11:06:14 +0200 |
commit | 2c2dc8ebb7a3961f6f33d64a328f33dd3c9a40c6 (patch) | |
tree | 1213527f4c187606b98baa37bdf9758031cd6c05 /odk/CustomTarget_html.mk | |
parent | 06c73497580c32f77f2848a6f57feb037516695e (diff) |
Use api.libreoffice.org fallback links when no local doxygen/javadoc docu
Change-Id: I2b108da334f63d79a16af0e3ba956240a5aff80c
Diffstat (limited to 'odk/CustomTarget_html.mk')
-rw-r--r-- | odk/CustomTarget_html.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/odk/CustomTarget_html.mk b/odk/CustomTarget_html.mk index 008a7fbc143f..a00bb2a14517 100644 --- a/odk/CustomTarget_html.mk +++ b/odk/CustomTarget_html.mk @@ -19,6 +19,12 @@ $(eval $(call gb_CustomTarget_register_targets,odk/html,\ $(call gb_CustomTarget_get_workdir,odk/html)/%.html : $(SRCDIR)/odk/%.html $(call gb_Output_announce,$*.html,$(true),SED,1) - cat $< | tr -d "\015" | sed -e 's/%PRODUCT_RELEASE%/$(PRODUCTVERSION)/g' > $@ + sed -e 's|%PRODUCT_RELEASE%|$(PRODUCTVERSION)|g' \ + -e 's|%DOXYGEN_PREFIX0%|$(if $(DOXYGEN),.,http://api.libreoffice.org)|g' \ + -e 's|%DOXYGEN_PREFIX1%|$(if $(DOXYGEN),..,http://api.libreoffice.org)|g' \ + -e 's|%DOXYGEN_PREFIX2%|$(if $(DOXYGEN),../..,http://api.libreoffice.org)|g' \ + -e 's|%JAVADOC_PREFIX0%|$(if $(SOLAR_JAVA),.,http://api.libreoffice.org)|g' \ + -e 's|%JAVADOC_PREFIX1%|$(if $(SOLAR_JAVA),..,http://api.libreoffice.org)|g' \ + < $< > $@ # vim: set noet sw=4 ts=4: |