projects
/
git-tools-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add script to add config.h (AC_CONFIG_HEADERS)
[git-tools-moved-to-github.git]
/
fixup-headers
/
add-config-h.sh
diff --git a/fixup-headers/add-config-h.sh
b/fixup-headers/add-config-h.sh
new file mode 100755
(executable)
index 0000000..
b672b59
--- /dev/null
+++ b/
fixup-headers/add-config-h.sh
@@ -0,0
+1,8
@@
+#!/bin/sh
+H=`dirname $0`/add-file-config.tcl
+for f in `find . \( -name '*.c' -or -name '*.cpp' \) -print`; do
+ echo $f
+ $H < $f >${f}_new
+ mv -f ${f}_new $f
+done
+