98
98
@$(DOTNET) build -c ${CONFIGURATION} -nologo -p:TargetPlatform=$(TARGETPLATFORM)
99
99
endif
100
100
ifeq ($(TARGETPLATFORM ) , unix-generic)
101
- @sh -c ./packaging/shared/configure-system-libraries.sh
101
+ @sh -c ' ./packaging/shared/configure-system-libraries.sh'
102
102
endif
103
- @sh -c ./packaging/shared/fetch-geoip.sh
103
+ @sh -c ' ./packaging/shared/fetch-geoip.sh'
104
104
105
105
# dotnet clean and msbuild -t:Clean leave files that cause problems when switching between mono/dotnet
106
106
# Deleting the intermediate / output directories ensures the build directory is actually clean
@@ -118,14 +118,14 @@ else
118
118
@$(DOTNET) build -c Debug -nologo -warnaserror -p:TargetPlatform=$(TARGETPLATFORM)
119
119
endif
120
120
ifeq ($(TARGETPLATFORM ) , unix-generic)
121
- @sh -c ./packaging/shared/configure-system-libraries.sh
121
+ @sh -c ' ./packaging/shared/configure-system-libraries.sh'
122
122
endif
123
123
@echo
124
124
@echo "Checking for explicit interface violations..."
125
- @sh -c ./packaging/shared/utility.sh all --check-explicit-interfaces
125
+ @sh -c ' ./packaging/shared/utility.sh all --check-explicit-interfaces'
126
126
@echo
127
127
@echo "Checking for incorrect conditional trait interface overrides..."
128
- @sh -c ./packaging/shared/utility.sh all --check-conditional-trait-interface-overrides
128
+ @sh -c ' ./packaging/shared/utility.sh all --check-conditional-trait-interface-overrides'
129
129
130
130
check-scripts :
131
131
@echo
@@ -135,16 +135,16 @@ check-scripts:
135
135
test : all
136
136
@echo
137
137
@echo " Testing Tiberian Sun mod MiniYAML..."
138
- @sh -c ./packaging/shared/utility.sh ts --check-yaml
138
+ @sh -c ' ./packaging/shared/utility.sh ts --check-yaml'
139
139
@echo
140
140
@echo " Testing Dune 2000 mod MiniYAML..."
141
- @sh -c ./packaging/shared/utility.sh d2k --check-yaml
141
+ @sh -c ' ./packaging/shared/utility.sh d2k --check-yaml'
142
142
@echo
143
143
@echo " Testing Tiberian Dawn mod MiniYAML..."
144
- @sh -c ./packaging/shared/utility.sh cnc --check-yaml
144
+ @sh -c ' ./packaging/shared/utility.sh cnc --check-yaml'
145
145
@echo
146
146
@echo " Testing Red Alert mod MiniYAML..."
147
- @sh -c ./packaging/shared/utility.sh ra --check-yaml
147
+ @sh -c ' ./packaging/shared/utility.sh ra --check-yaml'
148
148
149
149
tests :
150
150
@dotnet build OpenRA.Test/OpenRA.Test.csproj -c Debug --nologo -p:TargetPlatform=$(TARGETPLATFORM )
@@ -161,18 +161,18 @@ endif
161
161
@sh -c ./packaging/shared/set-mod-version.sh "$(VERSION)" mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml mods/ts/mod.yaml mods/modcontent/mod.yaml mods/all/mod.yaml'
162
162
163
163
install :
164
- @sh -c ./packaging/shared/install-assemblies.sh $(CWD ) $(DESTDIR )$(gameinstalldir ) $(TARGETPLATFORM ) $(RUNTIME ) True True True'
165
- @sh -c ./packaging/shared/install-data.sh $(CWD ) $(DESTDIR )$(gameinstalldir ) cnc d2k ra'
164
+ @sh -c ' ./packaging/shared/install-assemblies.sh $(CWD) " $(DESTDIR)" " $(gameinstalldir)" $(TARGETPLATFORM) $(RUNTIME) True True True'
165
+ @sh -c ' ./packaging/shared/install-data.sh $(CWD) " $(DESTDIR)" " $(gameinstalldir)" cnc d2k ra'
166
166
167
167
install-linux-shortcuts :
168
168
@sh -c ' . ./packaging/linux/install-shortcuts.sh $(CWD) "$(DESTDIR)" "$(gameinstalldir)" "$(bindir)" "$(datadir)" "$(shell head -n1 VERSION)" cnc d2k ra'
169
169
170
170
install-linux-appdata :
171
- @sh -c ./packaging/linux/install-appdata.sh $(CWD ) " $( DESTDIR) " " $( datadir) " cnc d2k ra'
171
+ @sh -c ' ./packaging/linux/install-appdata.sh $(CWD) "$(DESTDIR)" "$(datadir)" cnc d2k ra'
172
172
173
173
install-man : all
174
174
@mkdir -p $(DESTDIR )$(mandir ) /man6/
175
- @sh -c ./packaging/shared/utility.sh all --man-page > $(DESTDIR )$(mandir ) /man6/openra.6
175
+ @sh -c ' ./packaging/shared/utility.sh all --man-page > $(DESTDIR)$(mandir)/man6/openra.6'
176
176
177
177
help :
178
178
@echo ' to compile, run:'
0 commit comments