summaryrefslogtreecommitdiff
path: root/scripting/Package_java.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-04-30 13:29:00 +0200
committerDavid Tardon <dtardon@redhat.com>2013-04-30 17:48:51 +0200
commitbf7df610a1d01bf9a5a100e58b47f962f0a493d9 (patch)
tree5adf3285105d807e72439df73e273e654d14e1bb /scripting/Package_java.mk
parent06bc7619745015d9b49360229ae2b7d8795d5701 (diff)
install example java scripts using filelist
Change-Id: I3f5df5be726fe0788a17d632fe1021ccaf4c1951
Diffstat (limited to 'scripting/Package_java.mk')
-rw-r--r--scripting/Package_java.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripting/Package_java.mk b/scripting/Package_java.mk
new file mode 100644
index 000000000000..a840e2096dbc
--- /dev/null
+++ b/scripting/Package_java.mk
@@ -0,0 +1,23 @@
+# -*- 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,scripting_java,$(SRCDIR)/scripting/examples/java))
+
+$(eval $(call gb_Package_set_outdir,scripting_java,$(INSTDIR)))
+
+$(eval $(call gb_Package_add_files_with_dir,scripting_java,share/Scripts/java,\
+ HelloWorld/HelloWorld.java \
+ HelloWorld/parcel-descriptor.xml \
+ Highlight/HighlightText.java \
+ Highlight/parcel-descriptor.xml \
+ MemoryUsage/MemoryUsage.java \
+ MemoryUsage/parcel-descriptor.xml \
+))
+
+# vim: set noet sw=4 ts=4: