[PATCH] add test for missing module-ix.html
David Tardon (via Code Review)
gerrit at gerrit.libreoffice.org
Tue Apr 23 06:15:20 PDT 2013
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 at redhat.com>
More information about the LibreOffice
mailing list