home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume10 / sun.serpatch / part01 / doit.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1990-10-25  |  307 b   |  12 lines

  1. #!/bin/sh
  2. sed -e 's/CG4/CG8/g' -e 's/cg4/cg8/g' ddx/sun/sunCG4C.c > ddx/sun/sunCG8C.c
  3. patch -p1 < cg8.diff
  4. if [ -f /usr/include/sundev/cg9reg.h ]; then
  5.   sed -e 's/CG8/CG9/g' -e 's/cg8/cg9/g' ddx/sun/sunCG8C.c > ddx/sun/sunCG9C.c
  6.   patch -p1 < cg9.diff
  7. fi
  8. make Makefile
  9. make Makefiles
  10. make depend
  11. make Xsun
  12.