home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / makefile < prev    next >
Makefile  |  1994-07-17  |  910b  |  23 lines

  1. all:    Contents-Force QuickRef-Force
  2.  
  3. # Generate a summary file called "Contents".
  4.  
  5. Contents-Force:
  6.     echo "This file is generated automatically from the product info files" >Contents
  7.     echo "included in this tree." >>Contents
  8.     echo "" >>Contents
  9.     find . \( -name Product-Info -o -name '*.pi' \) -print \
  10.       | sort -f \
  11.       | sed "s:^./::" \
  12.       | pitool -f - -b -F "==========\n\n%N    %V    %S\n\n%d\n\nAuthor: %a\nPath: %P\n\n" - >>Contents
  13.  
  14. # Generate a quick reference file, which contains the name of the product,
  15. # the version number, and the short description; one product per line.
  16.  
  17. QuickRef-Force:
  18.     echo "This file is generated automatically from the product info files" >QuickRef
  19.     echo "included in this tree.  See the 'Contents' file for additional" >>QuickRef
  20.     echo "information about each item." >>QuickRef
  21.     echo "" >>QuickRef
  22.     pitool -b -F "%-16.16N  %8.8V   %-S\n" -f - . | sort -f | uniq >>QuickRef
  23.