home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / ade-misc-src.tgz / ade-misc-src.tar / manifests / Makefile < prev    next >
Makefile  |  1996-09-28  |  1KB  |  34 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. # Note that the IGNORE file contains the few random names of files
  25. # that are currently in the GNU tree but do not get used in building
  26. # any of the BBS archives.  Most of these should eventually go away.
  27.  
  28. coverage:
  29.     -cat IGNORE *-bin | sort >/tmp/manifest-files-all
  30.     uniq </tmp/manifest-files-all >/tmp/manifest-files-uniq
  31.     -diff /tmp/manifest-files-all /tmp/manifest-files-uniq >/tmp/dups.diff
  32.     (cd /gnu; find . -type f -print) | sort | uniq | sed "s:^./::" >/tmp/gnu-files
  33.     -diff /tmp/manifest-files-uniq /tmp/gnu-files >/tmp/coverage.diff
  34.