Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3578

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/78/3578/1

add test for missing module-ix.html

Change-Id: Ibdbe04028ad9648af011da51b562cc6aa5e4849b
---
M odk/CustomTarget_check.mk
1 file changed, 17 insertions(+), 0 deletions(-)



diff --git a/odk/CustomTarget_check.mk b/odk/CustomTarget_check.mk
index 620c01e..9338a58 100644
--- a/odk/CustomTarget_check.mk
+++ b/odk/CustomTarget_check.mk
@@ -10,6 +10,7 @@
 $(eval $(call gb_CustomTarget_CustomTarget,odk/check))
 
 $(eval $(call gb_CustomTarget_register_targets,odk/check,\
+       autodoc \
        checkbin \
 ))
 
@@ -52,4 +53,20 @@
                ,$@.log \
        )
 
+.PHONY : $(call gb_CustomTarget_get_workdir,odk/check)/autodoc
+$(call gb_CustomTarget_get_workdir,odk/check)/autodoc : $(call 
gb_PackageSet_get_target,odk_autodoc)
+       $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CHK,1)
+       ( \
+               c=0 && \
+               for m in `find $(call gb_CustomTarget_get_workdir,odk/docs/common/ref) -name 
module-ix.html`; do \
+                       m=`echo $$m | sed -e s@$(call 
gb_CustomTarget_get_workdir,odk/docs/common/ref)/@@` && \
+                       mm=$(INSTDIR)/$(gb_Package_SDKDIRNAME)/docs/common/ref/$${m} && \
+                       if [ ! -e $${mm} ]; then \
+                               c=`expr $$c + 1`; \
+                               echo "autodoc check: $${mm} not found. Please update 
odk/Package_autodoc.mk ."; \
+                       fi \
+               done && \
+               if [ $${c} -gt 0 ]; then exit 1; fi \
+       )
+
 # vim: set noet sw=4 ts=4:

-- 
To view, visit https://gerrit.libreoffice.org/3578
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibdbe04028ad9648af011da51b562cc6aa5e4849b
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: David Tardon <dtardon@redhat.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.