home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / WHICH / RTR / WHICH. < prev   
Encoding:
Text File  |  1998-07-24  |  1.1 KB  |  35 lines

  1. *** Makefile.orig    Fri Oct 30 05:56:52 1992
  2. --- Makefile    Fri Oct 30 05:58:04 1992
  3. ***************
  4. *** 1,4 ****
  5. ! # Makefile for /usr/local/bin/which
  6.   # If your operating system does not support multiple groups (see getgroups(2)
  7.   # on BSD-derivatives), comment out the next line.
  8.   MULTIPLE_GROUPS=-DMULTIPLE_GROUPS
  9. --- 1,4 ----
  10. ! # Makefile for <installdir>/bin/which
  11.   # If your operating system does not support multiple groups (see getgroups(2)
  12.   # on BSD-derivatives), comment out the next line.
  13.   MULTIPLE_GROUPS=-DMULTIPLE_GROUPS
  14. ***************
  15. *** 7,15 ****
  16.           cc -O $(MULTIPLE_GROUPS) -o which which6.c
  17.   
  18.   install:    which doc
  19. !         /bin/mv -f which /usr/local/bin
  20. !         /bin/mv -f which.man /usr/local/man/cat1/which.1
  21. !         /bin/cp which.1 /usr/local/man/man1
  22.   
  23.   doc:
  24.           nroff -man which.1 > which.man
  25. --- 7,15 ----
  26.           cc -O $(MULTIPLE_GROUPS) -o which which6.c
  27.   
  28.   install:    which doc
  29. !         /bin/mv -f which <installdir>/bin
  30. !         /bin/mv -f which.man <installsharedir>/man/cat1/which.1
  31. !         /bin/cp which.1 <installsharedir>/man/man1
  32.   
  33.   doc:
  34.           nroff -man which.1 > which.man
  35.