diff options
author | Jim Fehrle <jfehrle@sbcglobal.net> | 2018-06-28 22:55:33 -0700 |
---|---|---|
committer | Jim Fehrle <jfehrle@sbcglobal.net> | 2018-06-30 10:30:30 -0700 |
commit | 5d4616f63c66291d2e83c5d9847749fa89b33bf6 (patch) | |
tree | 53d83df6382d707cdbf02ac4b8bfc385a03afeea /Makefile.build | |
parent | 069d17f4f138fd779eff589119a7783784ababd9 (diff) |
Suppress useless "true bin/*.opt.exe" messages from no-op STRIP and CODESIGN steps.
Diffstat (limited to 'Makefile.build')
-rw-r--r-- | Makefile.build | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.build b/Makefile.build index 60682c6e3..0bc48dcf7 100644 --- a/Makefile.build +++ b/Makefile.build @@ -212,9 +212,17 @@ DEPFLAGS=$(LOCALINCLUDES)$(if $(filter plugins/%,$@),, -I ide -I ide/protocol) ifeq ($(shell which codesign > /dev/null 2>&1 && echo $(ARCH)),Darwin) LINKMETADATA=$(if $(filter $(PRIVATEBINARIES),$@),,-ccopt "-sectcreate __TEXT __info_plist config/Info-$(notdir $@).plist") CODESIGN=$(if $(filter $(PRIVATEBINARIES),$@),true,codesign -s -) +CODESIGN_HIDE=$(CODESIGN) else LINKMETADATA= CODESIGN=true +CODESIGN_HIDE=$(HIDE)true +endif + +ifeq ($(STRIP),true) +STRIP_HIDE=$(HIDE)true +else +STRIP_HIDE=$(STRIP) endif # Best OCaml compiler, used in a generic way @@ -400,8 +408,8 @@ bin/%.opt$(EXE): topbin/%_bin.ml $(LINKCMX) $(LIBCOQRUN) $(HIDE)$(OCAMLOPT) -linkall -linkpkg $(MLINCLUDES) \ $(SYSMOD) -package camlp5.gramlib \ $(LINKCMX) $(OPTFLAGS) $(LINKMETADATA) $< -o $@ - $(STRIP) $@ - $(CODESIGN) $@ + $(STRIP_HIDE) $@ + $(CODESIGN_HIDE) $@ bin/%.byte$(EXE): topbin/%_bin.ml $(LINKCMO) $(LIBCOQRUN) $(SHOW)'COQMKTOP -o $@' |