home *** CD-ROM | disk | FTP | other *** search
- #! sh
-
- # Frontend for geninclude.pl.
- #
- # Copy operation may take a while. To speed up
- # use a cache programm.
- #
- # Please change these paths for your setup.
-
- SOURCEDIR=./
- DESTDIR=./includenew
-
- #
- #
-
- echo Generating script for os-includes ...
- (cd $SOURCEDIR; find ./include -type d -printf "$DESTDIR/%p\n" | xargs mkdir -p)
- #(cd $SOURCEDIR; find ./include -iname *.h -printf "perl geninclude.pl >$DESTDIR/%p $SOURCEDIR/%p\n" >/tmp/geninclude)
- (cd $SOURCEDIR; find include -iname *.h -printf "perl geninclude.pl >$DESTDIR/%p $SOURCEDIR/%p\n" | grep -v pragmas | grep -v inline >/tmp/geninclude)
-
- . /tmp/geninclude
-
- #echo Generating script for ixemul includes ...
- #(cd $SOURCEDIR; find include -type d -printf "$DESTDIR/%p\n" | xargs mkdir -p)
- #(cd $SOURCEDIR; find include -iname *.h -printf "perl geninclude.pl >$DESTDIR/%p $SOURCEDIR/%p\n" | grep -v pragmas | grep -v inline >/tmp/geninclude)
-
- #. /tmp/geninclude
-
- echo Done
- rm -f /tmp/geninclude
-
-
-
-
-
-
-
-