summaryrefslogtreecommitdiff
path: root/odk/examples/java
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-07-11 13:28:54 +0000
committerRüdiger Timm <rt@openoffice.org>2008-07-11 13:28:54 +0000
commitdeea48542caf7f876b819cb86ff79645640349ec (patch)
tree8247adade2e32025a5aa0cd84a230e97a8fbdd09 /odk/examples/java
parent0d603f0bdb55244234fe6ac53ed64000010d2087 (diff)
INTEGRATION: CWS jsc21 (1.2.54); FILE MERGED
2008/05/21 10:38:20 jsc 1.2.54.1: #i88797# extended with example document
Diffstat (limited to 'odk/examples/java')
-rwxr-xr-xodk/examples/java/EmbedDocument/EmbeddedObject/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/Makefile b/odk/examples/java/EmbedDocument/EmbeddedObject/Makefile
index c20d33e31c9d..cdf898c0adb0 100755
--- a/odk/examples/java/EmbedDocument/EmbeddedObject/Makefile
+++ b/odk/examples/java/EmbedDocument/EmbeddedObject/Makefile
@@ -2,9 +2,9 @@
#
# $RCSfile: Makefile,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: hr $ $Date: 2007-06-26 16:02:22 $
+# last change: $Author: rt $ $Date: 2008-07-11 14:28:54 $
#
# The Contents of this file are made available subject to the terms of
# the BSD license.
@@ -56,8 +56,8 @@ SAMPLE_GEN_OUT=$(OUT_MISC)/$(SAMPLE_NAME)
COMP_NAME=OwnEmbeddedObject
COMP_CLASS_OUT=$(SAMPLE_CLASS_OUT)/$(COMP_NAME)
COMP_GEN_OUT=$(SAMPLE_GEN_OUT)/$(COMP_NAME)
-COMP_PACKAGE=$(OUT_BIN)/$(COMP_NAME).$(UNOPKG_EXT)
-COMP_PACKAGE_URL=$(subst \\,\,"$(COMP_PACKAGE_DIR)$(PS)$(COMP_NAME).$(UNOPKG_EXT)")
+COMP_PACKAGE=$(OUT_BIN)/$(COMP_NAME).$(UNOOXT_EXT)
+COMP_PACKAGE_URL=$(subst \\,\,"$(COMP_PACKAGE_DIR)$(PS)$(COMP_NAME).$(UNOOXT_EXT)")
COMP_JAR_NAME=$(COMP_NAME).uno.jar
COMP_JAR=$(SAMPLE_CLASS_OUT)/$(COMP_JAR_NAME)
COMP_JAR_MANIFEST=$(COMP_GEN_OUT)/$(COMP_NAME).Manifest
@@ -136,10 +136,16 @@ endif
$(COMP_NAME) : $(COMP_REGISTERFLAG)
@echo ------
@echo The $(COMP_NAME) component was installed if SDK_AUTO_DEPLOYMENT = YES.
- @echo You can use this component inside your office installation, see the example
+ @echo Load the "$(QM)$(SAMPLE_NAME).odt$(QM)" document to see how this component works.
+ @echo You can use this component inside your office installation, see the example
@echo description.
+ @echo -
+ @echo $(MAKE) $(SAMPLE_NAME).odt.load
@echo --------------------------------------------------------------------------------
+$(SAMPLE_NAME).odt.load : $(COMP_REGISTERFLAG)
+ "$(OFFICE_PROGRAM_PATH)$(PS)soffice" $(basename $@)
+
.PHONY: clean
clean :
-$(DELRECURSIVE) $(subst /,$(PS),$(SAMPLE_CLASS_OUT))