From a8bdde191c83b3cbdd7647a46ed0701d573f886c Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Wed, 4 Jan 2012 01:30:44 -0600 Subject: fix sanedlg.hrc dep issue due to gbuildification of extensions --- extensions/AllLangResTarget_san.mk | 44 ------------------------------- extensions/AllLangResTarget_scn.mk | 49 +++++++++++++++++++++++++++++++++++ extensions/Module_extensions.mk | 2 +- scp2/source/ooo/file_resource_ooo.scp | 2 +- 4 files changed, 51 insertions(+), 46 deletions(-) delete mode 100644 extensions/AllLangResTarget_san.mk create mode 100644 extensions/AllLangResTarget_scn.mk diff --git a/extensions/AllLangResTarget_san.mk b/extensions/AllLangResTarget_san.mk deleted file mode 100644 index 2301f6cf7b55..000000000000 --- a/extensions/AllLangResTarget_san.mk +++ /dev/null @@ -1,44 +0,0 @@ -# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- -# -# Version: MPL 1.1 / GPLv3+ / LGPLv3+ -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License or as specified alternatively below. You may obtain a copy of -# the License at http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# Major Contributor(s): -# [ Copyright (C) 2011 Red Hat, Inc., Michael Stahl (initial developer) ] -# -# All Rights Reserved. -# -# For minor contributions see the git repository. -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 3 or later (the "GPLv3+"), or -# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), -# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable -# instead of those above. -# - -$(eval $(call gb_AllLangResTarget_AllLangResTarget,san)) - -$(eval $(call gb_AllLangResTarget_set_reslocation,san,extensions/source/scanner)) - -$(eval $(call gb_AllLangResTarget_add_srs,san,\ - scn/res \ -)) - -$(eval $(call gb_SrsTarget_SrsTarget,scn/res)) - -$(eval $(call gb_SrsTarget_add_files,scn/res,\ - extensions/source/scanner/grid.src \ - extensions/source/scanner/sanedlg.src \ -)) - -# vim:set shiftwidth=4 softtabstop=4 expandtab: diff --git a/extensions/AllLangResTarget_scn.mk b/extensions/AllLangResTarget_scn.mk new file mode 100644 index 000000000000..8b8dde4fdb03 --- /dev/null +++ b/extensions/AllLangResTarget_scn.mk @@ -0,0 +1,49 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# [ Copyright (C) 2011 Red Hat, Inc., Michael Stahl (initial developer) ] +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. +# + +$(eval $(call gb_AllLangResTarget_AllLangResTarget,scn)) + +$(eval $(call gb_AllLangResTarget_set_reslocation,scn,extensions/source/scanner)) + +$(eval $(call gb_AllLangResTarget_add_srs,scn,\ + scn/res \ +)) + +$(eval $(call gb_SrsTarget_SrsTarget,scn/res)) + +$(eval $(call gb_SrsTarget_set_include,scn/res,\ + $$(INCLUDE) \ + -I$(SRCDIR)/extensions/source/scanner \ +)) + +$(eval $(call gb_SrsTarget_add_files,scn/res,\ + extensions/source/scanner/grid.src \ + extensions/source/scanner/sanedlg.src \ +)) + +# vim:set shiftwidth=4 softtabstop=4 expandtab: diff --git a/extensions/Module_extensions.mk b/extensions/Module_extensions.mk index 348b95eeca95..62caaf6dafe5 100644 --- a/extensions/Module_extensions.mk +++ b/extensions/Module_extensions.mk @@ -32,7 +32,7 @@ $(eval $(call gb_Module_add_targets,extensions,\ AllLangResTarget_bib \ AllLangResTarget_dbp \ AllLangResTarget_pcr \ - AllLangResTarget_san \ + AllLangResTarget_scn \ AllLangResTarget_upd \ AllLangResTarget_updchk \ Configuration_updchk \ diff --git a/scp2/source/ooo/file_resource_ooo.scp b/scp2/source/ooo/file_resource_ooo.scp index 6a23a9f8ef77..311dd9fe158c 100644 --- a/scp2/source/ooo/file_resource_ooo.scp +++ b/scp2/source/ooo/file_resource_ooo.scp @@ -68,7 +68,7 @@ STD_RES_FILE( gid_File_Res_Pdffilter, pdffilter) #ifdef UNX -STD_RES_FILE( gid_File_Res_San, san ) +STD_RES_FILE( gid_File_Res_San, scn ) #endif -- cgit