7 for i in `ls *.[ch]`; do
11 cp /usr/src/drm/bsd-core/*.[ch] .
15 # Replace drm_pciids.h with one with a $FreeBSD$
16 line=`grep \\\$FreeBSD drm_pciids.h.cvs`
18 echo "/*" >> drm_pciids.h
19 echo "$line" >> drm_pciids.h
20 echo " */" >> drm_pciids.h
21 cat /usr/src/drm/bsd-core/drm_pciids.h >> drm_pciids.h
23 for i in `ls *.[ch]`; do
25 perl drm-subprocess.pl < $i.orig > $i
28 for orig in `ls *.[ch].cvs`; do
29 real=`echo "$orig" | sed s/.cvs//`
30 line=`grep __FBSDID $orig | sed s/\\\\\$/\\\\\\\\\$/g`
31 perl -pi -e "s|__FBSDID.*|$line|g" $real