2 # This shell script is generated by the 'configure' script. It is invoked in a
3 # subdirectory of the build tree. It generates a sed-script in the parent
4 # directory that is used to adjust includes for header files that reside in a
5 # subdirectory of /usr/include, etc.
14 TMPSRC
=${TMPDIR:-/tmp}/`basename $SRC`$$
15 TMPSED
=${TMPDIR:-/tmp}/headers.
sed$$
16 echo installing
$SRC in $DST
20 for i
in `cat $REF/../*/headers |fgrep -v "#"`
23 echo "s/<$NAME>/<$END\/$NAME>/" >> $TMPSED
31 sed -f $TMPSED $SRC > $TMPSRC
33 # Just in case someone gzip'd manpages, remove the conflicting copy.
34 test -f $DST/$NAME.gz
&& rm -f $DST/$NAME.gz
36 eval $PRG $TMPSRC $DST/$NAME