Cleanup make files for Java/C++ SDK examples

This fixes some minor issues with the make files for Java/C++ SDK
examples in DevelopersGuide/FirstSteps.

For Java examples, an exatra "-f Example_Java.mk" was a leftover from a
previous change.

For C++ examples, 'make clean' was not working correctly, because of a
leftover from a previous change.

Both should be fixed now.

Change-Id: Id936824675a9bfd43674ca526bc97a998ed9daf8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159777
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
Hossein
2023-11-21 12:05:10 +01:00
parent 5ac5484dc4
commit 42edec63fb
5 changed files with 5 additions and 5 deletions

View File

@@ -97,4 +97,4 @@ clean :
-$(DELRECURSIVE) $(subst /,$(PS),$(OUT_APP_INC))
-$(DELRECURSIVE) $(subst /,$(PS),$(OUT_APP_GEN))
-$(DELRECURSIVE) $(subst /,$(PS),$(OUT_APP_OBJ))
-$(DEL) $(subst \\,\,$(subst /,$(PS),$(OUT_BIN)/*SimpleBootstrap*))
-$(DEL) $(subst \\,\,$(subst /,$(PS),$(OUT_BIN)/*FirstLoadComponent*))

View File

@@ -81,7 +81,7 @@ $(EXAMPLE_NAME) : $(APP_JAR)
@echo --------------------------------------------------------------------------------
@echo Please use the following command to execute the example!
@echo -
@echo $(MAKE) -f Example_Java.mk $(APP_NAME).run
@echo $(MAKE) $(APP_NAME).run
@echo --------------------------------------------------------------------------------
%.run: $(OUT_APP_CLASS)/%.jar

View File

@@ -97,4 +97,4 @@ clean :
-$(DELRECURSIVE) $(subst /,$(PS),$(OUT_APP_INC))
-$(DELRECURSIVE) $(subst /,$(PS),$(OUT_APP_GEN))
-$(DELRECURSIVE) $(subst /,$(PS),$(OUT_APP_OBJ))
-$(DEL) $(subst \\,\,$(subst /,$(PS),$(OUT_BIN)/*SimpleBootstrap*))
-$(DEL) $(subst \\,\,$(subst /,$(PS),$(OUT_BIN)/*FirstUnoContact*))

View File

@@ -81,7 +81,7 @@ $(EXAMPLE_NAME) : $(APP_JAR)
@echo --------------------------------------------------------------------------------
@echo Please use the following command to execute the example!
@echo -
@echo $(MAKE) -f Example_Java.mk $(APP_NAME).run
@echo $(MAKE) $(APP_NAME).run
@echo --------------------------------------------------------------------------------
%.run: $(OUT_APP_CLASS)/%.jar

View File

@@ -81,7 +81,7 @@ $(EXAMPLE_NAME) : $(APP_JAR)
@echo --------------------------------------------------------------------------------
@echo Please use the following command to execute the example!
@echo -
@echo $(MAKE) -f Example_Java.mk $(APP_NAME).run
@echo $(MAKE) $(APP_NAME).run
@echo --------------------------------------------------------------------------------
%.run: $(OUT_APP_CLASS)/%.jar