summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-04-16 20:04:19 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-04-16 20:05:02 +0200
commitf4ebb99de6e93f6d38e7b0486d66e99a196b1f6e (patch)
treeab8478c33da5a7d2ca61e97d99882445f7f3237b
parent30fd46fd54c764dae676fc70dd2a207bc38a3870 (diff)
separate inc and dtd packages in xmlscript for global header move
Change-Id: I3e00e33d4e684b18d4e30e115db69fbface76982
-rw-r--r--xmlscript/Module_xmlscript.mk1
-rw-r--r--xmlscript/Package_dtd.mk17
-rw-r--r--xmlscript/Package_inc.mk7
3 files changed, 18 insertions, 7 deletions
diff --git a/xmlscript/Module_xmlscript.mk b/xmlscript/Module_xmlscript.mk
index 5c74712c5232..f0bf26d43f8c 100644
--- a/xmlscript/Module_xmlscript.mk
+++ b/xmlscript/Module_xmlscript.mk
@@ -11,6 +11,7 @@ $(eval $(call gb_Module_Module,xmlscript))
$(eval $(call gb_Module_add_targets,xmlscript,\
Library_xmlscript \
+ Package_dtd \
Package_inc \
))
diff --git a/xmlscript/Package_dtd.mk b/xmlscript/Package_dtd.mk
new file mode 100644
index 000000000000..60e88710feb2
--- /dev/null
+++ b/xmlscript/Package_dtd.mk
@@ -0,0 +1,17 @@
+# -*- 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_Package_Package,xmlscript_dtd,$(SRCDIR)/xmlscript))
+
+$(eval $(call gb_Package_add_file,xmlscript_dtd,bin/dialog.dtd,dtd/dialog.dtd))
+$(eval $(call gb_Package_add_file,xmlscript_dtd,bin/libraries.dtd,dtd/libraries.dtd))
+$(eval $(call gb_Package_add_file,xmlscript_dtd,bin/library.dtd,dtd/library.dtd))
+$(eval $(call gb_Package_add_file,xmlscript_dtd,bin/module.dtd,dtd/module.dtd))
+
+# vim: set noet sw=4 ts=4:
diff --git a/xmlscript/Package_inc.mk b/xmlscript/Package_inc.mk
index 3be4832f615c..ca3dae99fc2b 100644
--- a/xmlscript/Package_inc.mk
+++ b/xmlscript/Package_inc.mk
@@ -9,7 +9,6 @@
$(eval $(call gb_Package_Package,xmlscript_inc,$(SRCDIR)/xmlscript))
-# headers
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmlscriptdllapi.h,inc/xmlscript/xmlscriptdllapi.h))
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xml_helper.hxx,inc/xmlscript/xml_helper.hxx))
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmldlg_imexp.hxx,inc/xmlscript/xmldlg_imexp.hxx))
@@ -17,10 +16,4 @@ $(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmllib_imexp.hxx,i
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmlmod_imexp.hxx,inc/xmlscript/xmlmod_imexp.hxx))
$(eval $(call gb_Package_add_file,xmlscript_inc,inc/xmlscript/xmlns.h,inc/xmlscript/xmlns.h))
-# dtds
-$(eval $(call gb_Package_add_file,xmlscript_inc,bin/dialog.dtd,dtd/dialog.dtd))
-$(eval $(call gb_Package_add_file,xmlscript_inc,bin/libraries.dtd,dtd/libraries.dtd))
-$(eval $(call gb_Package_add_file,xmlscript_inc,bin/library.dtd,dtd/library.dtd))
-$(eval $(call gb_Package_add_file,xmlscript_inc,bin/module.dtd,dtd/module.dtd))
-
# vim: set noet sw=4 ts=4: