summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/credits9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/credits b/scripts/credits
new file mode 100755
index 0000000000..d627948b98
--- /dev/null
+++ b/scripts/credits
@@ -0,0 +1,9 @@
+#!/bin/sh
+awkprog='
+BEGIN { FS = "\n"; RS = "" }
+{ print "CREDIT_LINE(\""$1"\",\""$2"\");" }'
+
+for what in ext sapi
+do
+ awk "$awkprog" $what/*/CREDITS | sort -f > ext/standard/credits_$what.h
+done