home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / manifests / amigalib.mk next >
Makefile  |  1995-01-26  |  1KB  |  30 lines

  1. # Amiga Library Services - CD Administration Makefile
  2. #
  3. # This Makefile goes in the GNU tree directory containing the
  4. # "manifests", that are used to decide how the tree is partitioned
  5. # into the various archives that go in the BBS/FTP area on the CD.
  6.  
  7. all:
  8.  
  9. clean:
  10.         rm -f *!
  11.  
  12. clobber:    clean
  13.  
  14. release:
  15.  
  16. # This target tests the coverage of the manifest files.  The output
  17. # is the file /tmp/coverage.diff, which will show which files (if any)
  18. # are listed in the manifest files, but not found in the actual GNU
  19. # tree, which files are not listed in any manifest file, etc.
  20. #
  21. # We also find out which files, if any, appear in more than one manifest
  22. # file.  This list is left in /tmp/dups.diff.
  23.  
  24. coverage:
  25.     -cat *-src *-bin *-diffs | sort >/tmp/manifest-files-all
  26.     uniq </tmp/manifest-files-all >/tmp/manifest-files-uniq
  27.     -diff /tmp/manifest-files-all /tmp/manifest-files-uniq >/tmp/dups.diff
  28.     (cd /gnu; find . -type f -print) | sort | uniq | sed "s:^./::" >/tmp/gnu-files
  29.     -diff /tmp/manifest-files-uniq /tmp/gnu-files >/tmp/coverage.diff
  30.