home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / tools / a-kwic / makefile < prev    next >
Makefile  |  1994-07-16  |  589b  |  25 lines

  1. # This Makefile finds product info files and builds the new database.
  2.  
  3. # VOLUME_NAME =    `pwd | sed -e 's%^/%%' -e 's%/.*%%'`
  4. VOLUME_NAME =    FreshFish-Jul94
  5.  
  6. # DB_NAME =    $(VOLUME_NAME)
  7. DB_NAME =    FreshFish-Jul94
  8.  
  9. all:        $(DB_NAME).key
  10.  
  11. $(DB_NAME).key:    $(DB_NAME).ldb
  12.         LoadDB INPUTFILE $(DB_NAME).ldb DATABASE $(DB_NAME) QUIET MAXKW 4000
  13.  
  14. $(DB_NAME).ldb:    $(DB_NAME).api
  15.         ../pitools/pi2loaddb <$(DB_NAME).api >$(DB_NAME).ldb
  16.  
  17. $(DB_NAME).api:
  18.         ../pitools/pitool -s >$(DB_NAME).api /$(VOLUME_NAME)
  19.  
  20. clean:
  21.         rm -f *! *~
  22.  
  23. clobber:    clean
  24.         rm -f *.api *.bitmap *.index *.key *.ldb *.record *.text
  25.