summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cs/config/Make.rules.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/cs/config/Make.rules.cs b/cs/config/Make.rules.cs
index ea5ebc3e740..4a0c104c1f4 100644
--- a/cs/config/Make.rules.cs
+++ b/cs/config/Make.rules.cs
@@ -162,7 +162,7 @@ endif
ifneq ($(POLICY_TARGET),)
$(bindir)/$(POLICY_TARGET):
- @echo -e " \
+ @echo <<EOF " \
<configuration> \n \
<runtime> \n \
<assemblyBinding xmlns=\"urn:schemas-microsoft-com:asm.v1\"> \n \
@@ -173,7 +173,8 @@ $(bindir)/$(POLICY_TARGET):
</dependentAssembly> \n \
</assemblyBinding> \n \
</runtime> \n \
-</configuration>" >$(POLICY)
+</configuration>" \
+EOF >$(POLICY)
$(AL) /link:$(POLICY) /version:0.0.0.0 /out:$(POLICY_TARGET) /keyfile:$(KEYFILE)
chmod a+r $(POLICY)
chmod a+rx $(POLICY_TARGET)
@@ -186,7 +187,7 @@ endif
$(TARGETS_CONFIG):
@echo "Generating $@..."
- @echo -e \
+ @echo <<EOF \
"<configuration>\n \
<system.diagnostics>\n \
<trace autoflush=\"true\" indentsize=\"4\">\n \
@@ -199,7 +200,8 @@ type=\"System.Diagnostics.ConsoleTraceListener\"/>\n \
<add name=\"IceLogger\" value=\"Info\"/>\n \
</switches>\n \
</system.diagnostics>\n\
-</configuration>" >$@
+</configuration>" \
+EOF >$@
GEN_SRCS = $(subst .ice,.cs,$(addprefix $(GDIR)/,$(notdir $(SLICE_SRCS))))
CGEN_SRCS = $(subst .ice,.cs,$(addprefix $(GDIR)/,$(notdir $(SLICE_C_SRCS))))