home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / c / cops_104.zip / cops_104 / docs / makefile < prev    next >
Makefile  |  1992-03-10  |  2KB  |  94 lines

  1. #  Simple Makefile for the COPS documentation
  2. #
  3. #    make all        -- makes everything
  4. #    make <doc-name> -- make a given doc
  5. DOCS       = COPS.report.ms suid.man.ms kuang.man.ms
  6. MAN        = cops.1 cron.chk.1 dev.chk.1 group.chk.1 is_able.chk.1 \
  7.              passwd.chk.1 is_able.1 home.chk.1 user.chk.1 pass.chk.1 \
  8.              root.chk.1 rc.chk.1 pass_diff.chk.1 misc.chk.1 \
  9.              is_writable.1 bug.chk.1
  10.  
  11. DOC_SOURCE = COPS.report suid.man kuang.man cops cron.chk dev.chk is_able.chk \
  12.              dir.chk file.chk group.chk passwd.chk is_able home.chk \
  13.              user.chk pass.chk root.chk rc.chk pass_diff.chk misc.chk \
  14.              is_writable bug.chk
  15. ROFFLAGS   = -ms
  16.  
  17. #
  18. # Where the programs are....
  19. #
  20. NROFF=/usr/bin/nroff
  21. RM=/bin/rm -f
  22.  
  23. # make all
  24. all:    $(DOCS) $(MAN)
  25.  
  26. clean:
  27.     $(RM) $(DOCS) $(MAN)
  28.  
  29. # 'roff out those docs
  30. COPS.report.ms: COPS.report
  31.     $(NROFF) $(ROFFLAGS) COPS.report > COPS.report.ms
  32.  
  33. kuang.man.ms: kuang.man
  34.     $(NROFF) $(ROFFLAGS) kuang.man > kuang.man.ms
  35.  
  36. suid.man.ms: suid.man
  37.     $(NROFF) $(ROFFLAGS) suid.man > suid.man.ms
  38.  
  39. bug.chk.1: bug.chk
  40.     $(NROFF) -man bug.chk > bug.chk.1
  41.  
  42. cops.1: cops
  43.     $(NROFF) -man cops > cops.1
  44.  
  45. cron.chk.1: cron.chk
  46.     $(NROFF) -man cron.chk > cron.chk.1
  47.  
  48. dev.chk.1: dev.chk
  49.     $(NROFF) -man dev.chk > dev.chk.1
  50.  
  51. dir.chk.1: dir.chk
  52.     $(NROFF) -man dir.chk > dir.chk.1
  53.  
  54. file.chk.1: file.chk
  55.     $(NROFF) -man file.chk > file.chk.1
  56.  
  57. group.chk.1: group.chk
  58.     $(NROFF) -man group.chk > group.chk.1
  59.  
  60. passwd.chk.1: passwd.chk
  61.     $(NROFF) -man passwd.chk > passwd.chk.1
  62.  
  63. pass.chk.1: pass.chk
  64.     $(NROFF) -man pass.chk > pass.chk.1
  65.  
  66. is_able.1: is_able
  67.     $(NROFF) -man is_able > is_able.1
  68.  
  69. is_writable.1: is_writable
  70.     $(NROFF) -man is_writable > is_writable.1
  71.  
  72. is_able.chk.1: is_able.chk
  73.     $(NROFF) -man is_able.chk > is_able.chk.1
  74.  
  75. home.chk.1: home.chk
  76.     $(NROFF) -man home.chk > home.chk.1
  77.  
  78. user.chk.1: user.chk
  79.     $(NROFF) -man user.chk > user.chk.1
  80.  
  81. root.chk.1: root.chk
  82.     $(NROFF) -man root.chk > root.chk.1
  83.  
  84. rc.chk.1: rc.chk
  85.     $(NROFF) -man rc.chk > rc.chk.1
  86.  
  87. pass_diff.chk.1: pass_diff.chk
  88.     $(NROFF) -man pass_diff.chk > pass_diff.chk.1
  89.  
  90. misc.chk.1: misc.chk
  91.     $(NROFF) -man misc.chk > misc.chk.1
  92.  
  93. # the end
  94.