Kaydet (Commit) 498091c7 authored tarafından David Tardon's avatar David Tardon

clean up install. of C++ docs

Change-Id: I51841a8c92cb73912757fcc0766b11d8f9be4b77
Reviewed-on: https://gerrit.libreoffice.org/3587Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 753dba33
......@@ -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) \
......
......@@ -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:
......@@ -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) \
......
......@@ -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 \
......
# -*- 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:
......@@ -9,6 +9,12 @@
$(eval $(call gb_InstallModule_InstallModule,scp2/sdkoo))
ifneq ($(DOXYGEN),)
$(eval $(call gb_InstallModule_add_defs,scp2/sdkoo,\
-DDOXYGEN \
))
endif
$(eval $(call gb_InstallModule_add_scpfiles,scp2/sdkoo,\
scp2/source/sdkoo/sdkoo \
))
......
......@@ -46,6 +46,7 @@ Module gid_Module_Optional_Sdkoo
gid_File_Package_odk_settings,
gid_File_Package_odk_settings_generated,
gid_File_Package_odk_unowinreg,
gid_File_Zip_cppdocs,
gid_File_Zip_Odkexamples,
gid_File_Zip_Odkcommon,
gid_File_Zip_OdkIdl_udkapi,
......
......@@ -208,6 +208,15 @@ File gid_File_Package_odk_unowinreg
End
#endif
#if defined(DOXYGEN)
File gid_File_Zip_cppdocs
TXT_FILE_BODY;
Dir = gid_Dir_Basis_Sdk;
Name = "cppdocs.zip";
Styles = (ARCHIVE,USE_INTERNAL_RIGHTS);
End
#endif
File gid_File_Zip_Odkexamples
TXT_FILE_BODY;
Dir = FILELIST_SDK_DIR;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment