home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / ROT / RTR / ROT. next >
Encoding:
Text File  |  1998-07-24  |  1.1 KB  |  44 lines

  1. *** Makefile.orig    Tue Nov  3 16:54:00 1992
  2. --- Makefile    Tue Nov  3 16:58:09 1992
  3. ***************
  4. *** 2,21 ****
  5.   #
  6.   # Edit this to your standards:
  7.   CFLAGS= -O
  8. ! BINDIR=/usr/local
  9. ! MANDIR=/usr/man/man1
  10.   # If you have preformatted manuals, remove the comment character
  11.   # in the install section
  12. ! CATMANDIR=/usr/man/cat1
  13.   #
  14. ! rot: rot.c
  15.       cc $(CFLAGS) rot.c -o rot
  16.   rot.cat: rot.man
  17.       tbl rot.man | nroff -man | col > rot.cat
  18.   
  19.   install: rot rot.man rot.cat
  20. -     chmod 644 rot.man rot.cat
  21.       mv rot.man $(MANDIR)/rot.1
  22. ! #    mv rot.cat $(CATMANDIR)/rot.1
  23. !     chmod 711 rot
  24.       mv rot $(BINDIR)
  25. --- 2,19 ----
  26.   #
  27.   # Edit this to your standards:
  28.   CFLAGS= -O
  29. ! BINDIR=<installdir>/bin
  30. ! MANDIR=<installsharedir>/man/man1
  31.   # If you have preformatted manuals, remove the comment character
  32.   # in the install section
  33. ! CATMANDIR=<installsharedir>/man/cat1
  34.   #
  35. ! rot: rot.c rot.cat
  36.       cc $(CFLAGS) rot.c -o rot
  37.   rot.cat: rot.man
  38.       tbl rot.man | nroff -man | col > rot.cat
  39.   
  40.   install: rot rot.man rot.cat
  41.       mv rot.man $(MANDIR)/rot.1
  42. !     mv rot.cat $(CATMANDIR)/rot.1
  43.       mv rot $(BINDIR)
  44.