projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a6c5b4c
)
Yet another attempt at signature-build
author
Marco Costalba
<mcostalba@gmail.com>
Sat, 20 Jul 2013 12:05:04 +0000 (14:05 +0200)
committer
Marco Costalba
<mcostalba@gmail.com>
Sat, 20 Jul 2013 12:05:04 +0000 (14:05 +0200)
This one should work on all flavours of sed
Suggested by by Louis Zulli
No functional change.
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
f8d65cc
..
86693ab
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-447,8
+447,7
@@
profile-build:
embed-signature:
@echo "Running benchmark for getting the signature ..."
@$(SIGNBENCH) 2>&1 | sed -n 's/Nodes searched : \(.*\)/\/string Version\/s\/"\\(.*\\)"\/"sig-\1"\//p' > sign.txt
- @sed -f sign.txt misc.cpp > misc2.cpp
- @mv misc2.cpp misc.cpp
+ @sed -i'' -f sign.txt misc.cpp
@rm sign.txt
signature-build: build embed-signature