Fix help_XXX target on Windows
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
.PHONY: help_csharp # Generate list of targets with descriptions.
|
||||
help_csharp:
|
||||
@echo Use one of the following targets:
|
||||
ifeq ($(SYSTEM),win)
|
||||
@tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.csharp.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/"
|
||||
else
|
||||
@grep "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.csharp.mk | sed "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" | expand -t20
|
||||
endif
|
||||
|
||||
# Check for required build tools
|
||||
ifeq ($(SYSTEM),win)
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
.PHONY: help_fsharp # Generate list of targets with descriptions.
|
||||
help_fsharp:
|
||||
@echo Use one of the following targets:
|
||||
ifeq ($(SYSTEM),win)
|
||||
@tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.fsharp.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/"
|
||||
else
|
||||
@grep "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.fsharp.mk | sed "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" | expand -t20
|
||||
endif
|
||||
|
||||
BASE_ORTOOLS_DLL_NAME=Google.OrTools
|
||||
FSHARP_ORTOOLS_DLL_NAME=$(BASE_ORTOOLS_DLL_NAME).FSharp
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
.PHONY: help_java # Generate list of targets with descriptions.
|
||||
help_java:
|
||||
@echo Use one of the following targets:
|
||||
ifeq ($(SYSTEM),win)
|
||||
@tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.java.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/"
|
||||
else
|
||||
@grep "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.java.mk | sed "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" | expand -t24
|
||||
endif
|
||||
|
||||
.PHONY: rjava cjava
|
||||
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
.PHONY: help_python # Generate list of targets with descriptions.
|
||||
help_python:
|
||||
@echo Use one of the following targets:
|
||||
ifeq ($(SYSTEM),win)
|
||||
@tools\grep.exe "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.python.mk | tools\sed.exe "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/"
|
||||
else
|
||||
@grep "^.PHONY: .* #" $(CURDIR)/makefiles/Makefile.python.mk | sed "s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/" | expand -t24
|
||||
endif
|
||||
|
||||
OR_TOOLS_PYTHONPATH = $(OR_ROOT_FULL)$(CPSEP)$(OR_ROOT_FULL)$Sdependencies$Ssources$Sprotobuf-$(PROTOBUF_TAG)$Spython
|
||||
|
||||
|
||||
Reference in New Issue
Block a user