home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / include / os5 / Makefile < prev    next >
Encoding:
Makefile  |  1995-06-30  |  473 b   |  28 lines

  1. #
  2. #    Install corrected header files into /usr/skunk/include/fixes
  3. #
  4. #    This is just a quick hack.
  5. #
  6.  
  7. FILES=sys/time.h
  8.  
  9. all default: $(FILES)
  10.  
  11. sys/time.h:
  12.     cp /usr/include/sys/time.h sys/
  13.     chmod u+w sys/time.h
  14.     (cd sys; \
  15.      if patch <../sys.time.h.patch; then \
  16.         echo ok ; \
  17.      else \
  18.         echo "patching failed"; \
  19.         exit 1; \
  20.      fi)
  21.  
  22. install:
  23.     -mkdir -p /usr/skunk/include/fixes/os5
  24.     find . -name '*.h' -print | cpio -pduvma /usr/skunk/include/fixes/os5
  25.  
  26. clean:
  27.     rm -f $(FILES)
  28.