diff options
author | David Tardon <dtardon@redhat.com> | 2013-04-23 19:05:59 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-04-24 05:22:17 +0000 |
commit | 498091c772e60660419345512fa1b49252bffe33 (patch) | |
tree | f8d88b5fe7bb57cc6bbc00b6af2b61a089652333 /odk | |
parent | 753dba331c6305eadb904f6daa356e787090329a (diff) |
clean up install. of C++ docs
Change-Id: I51841a8c92cb73912757fcc0766b11d8f9be4b77
Reviewed-on: https://gerrit.libreoffice.org/3587
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'odk')
-rw-r--r-- | odk/CustomTarget_check.mk | 1 | ||||
-rw-r--r-- | odk/CustomTarget_doxygen.mk | 5 | ||||
-rw-r--r-- | odk/CustomTarget_odkcommon.mk | 1 | ||||
-rw-r--r-- | odk/Module_odk.mk | 5 | ||||
-rw-r--r-- | odk/Zip_cppdocs.mk | 20 |
5 files changed, 26 insertions, 6 deletions
diff --git a/odk/CustomTarget_check.mk b/odk/CustomTarget_check.mk index 85113b38d1f0..e6754c968bfb 100644 --- a/odk/CustomTarget_check.mk +++ b/odk/CustomTarget_check.mk @@ -27,6 +27,7 @@ odk_PLATFORM := $(if $(filter WNT,$(OS)),\ $(call gb_CustomTarget_get_workdir,odk/check)/checkbin : \ $(SRCDIR)/odk/util/check.pl \ + $(if $(DOXYGEN),$(call gb_CustomTarget_get_target,odk/odkcommon/docs/cpp/ref)) \ $(call gb_Package_get_target,odk_bin) \ $(if $(filter WNT,$(OS)),$(call gb_Package_get_target,odk_cli)) \ $(call gb_Package_get_target,odk_config) \ diff --git a/odk/CustomTarget_doxygen.mk b/odk/CustomTarget_doxygen.mk index fbdefca8f9cf..e9a33eee9d59 100644 --- a/odk/CustomTarget_doxygen.mk +++ b/odk/CustomTarget_doxygen.mk @@ -9,9 +9,6 @@ $(eval $(call gb_CustomTarget_CustomTarget,odk/odkcommon/docs/cpp/ref)) -odkcommon_ZIPLIST += docs/cpp/ref -odkcommon_ZIPDEPS += $(odk_WORKDIR)/docs/cpp/ref/index.html - CPPDOCREFNAME := "$(PRODUCTNAME) $(PRODUCTVERSION) SDK C/C++ API Reference" odk_INCDIRLIST := sal salhelper rtl osl typelib uno cppu cppuhelper \ @@ -49,7 +46,7 @@ $(odk_WORKDIR)/docs/cpp/ref/index.html: $(DOXY_DEPS) -e 's!^PROJECT_NAME = %$$!PROJECT_NAME = $(PRODUCTNAME)!' \ -e 's!^QUIET = %$$!QUIET = $(if $(VERBOSE),NO,YES)!' \ -e 's!^STRIP_FROM_PATH = %$$!STRIP_FROM_PATH = $(DOXY_STRIP_PATH)!' \ - $< > $(odk_WORKDIR)/Doxyfile + $< > $(odk_WORKDIR)/Doxyfile && \ $(DOXYGEN) $(odk_WORKDIR)/Doxyfile > $(odk_WORKDIR)/doxygen.log # vim: set noet sw=4 ts=4: diff --git a/odk/CustomTarget_odkcommon.mk b/odk/CustomTarget_odkcommon.mk index 6b500e86fb14..1201fdf3ddcc 100644 --- a/odk/CustomTarget_odkcommon.mk +++ b/odk/CustomTarget_odkcommon.mk @@ -14,7 +14,6 @@ odkcommon_ZIPDEPS := $(eval $(call gb_CustomTarget_CustomTarget,odk/odkcommon)) $(call gb_CustomTarget_get_target,odk/odkcommon): \ - $(if $(DOXYGEN),$(call gb_CustomTarget_get_target,odk/odkcommon/docs/cpp/ref)) \ $(if $(SOLAR_JAVA),$(call gb_CustomTarget_get_target,odk/odkcommon/docs/java/ref)) \ $(call gb_CustomTarget_get_target,odk/odkcommon/docs/common/ref) \ $(call gb_CustomTarget_get_target,odk/odkcommon/classes) \ diff --git a/odk/Module_odk.mk b/odk/Module_odk.mk index c17c57419e03..2c25c79af739 100644 --- a/odk/Module_odk.mk +++ b/odk/Module_odk.mk @@ -12,7 +12,10 @@ $(eval $(call gb_Module_Module,odk)) $(eval $(call gb_Module_add_targets,odk,\ CustomTarget_odkcommon \ $(if $(filter WNT,$(OS)),Package_cli) \ - $(if $(DOXYGEN),CustomTarget_doxygen) \ + $(if $(DOXYGEN),\ + CustomTarget_doxygen \ + Zip_cppdocs \ + ) \ CustomTarget_html \ CustomTarget_settings \ CustomTarget_autodoc \ diff --git a/odk/Zip_cppdocs.mk b/odk/Zip_cppdocs.mk new file mode 100644 index 000000000000..1904cdb54416 --- /dev/null +++ b/odk/Zip_cppdocs.mk @@ -0,0 +1,20 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Zip_Zip,cppdocs,$(call gb_CustomTarget_get_workdir,odk/odkcommon))) + +$(eval $(call gb_Zip_add_files,cppdocs,\ + docs/cpp/ref \ +)) + +$(eval $(call gb_Zip_add_commandoptions,cppdocs,-r)) + +$(call gb_Zip_get_target,cppdocs) : $(call gb_CustomTarget_get_target,odk/odkcommon/docs/cpp/ref) + +# vim: set noet sw=4 ts=4: |