home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-07-17 | 910 b | 23 lines |
- all: Contents-Force QuickRef-Force
-
- # Generate a summary file called "Contents".
-
- Contents-Force:
- echo "This file is generated automatically from the product info files" >Contents
- echo "included in this tree." >>Contents
- echo "" >>Contents
- find . \( -name Product-Info -o -name '*.pi' \) -print \
- | sort -f \
- | sed "s:^./::" \
- | pitool -f - -b -F "==========\n\n%N %V %S\n\n%d\n\nAuthor: %a\nPath: %P\n\n" - >>Contents
-
- # Generate a quick reference file, which contains the name of the product,
- # the version number, and the short description; one product per line.
-
- QuickRef-Force:
- echo "This file is generated automatically from the product info files" >QuickRef
- echo "included in this tree. See the 'Contents' file for additional" >>QuickRef
- echo "information about each item." >>QuickRef
- echo "" >>QuickRef
- pitool -b -F "%-16.16N %8.8V %-S\n" -f - . | sort -f | uniq >>QuickRef
-