summaryrefslogtreecommitdiffstats
path: root/src/tools/make_mkid
blob: 6f160614cdc79b61c8a35bbc1d30ed02a1c6a424 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# src/tools/make_mkid

mkid `find \`pwd\`/ \( -name _deadcode -a -prune \) -o \
	-type f -name '*.[chyl]' -print|sed 's;//;/;g'`

find . \( -name .git -a -prune \) -o -type d -print  |while read DIR
do
	[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/ID $DIR/ID
done