mkhelp.dat 762 B

1234567891011121314151617181920212223242526
  1. (setq package (getenv "package"))
  2. (when (not (filep (bldmsg "%w.rtf" package)))
  3. (prin2t "########## kein .RTF file gefunden")
  4. (exitlisp))
  5. (setq file(open (bldmsg "%w.hpj" package) 'output))
  6. (channelprintf file "[OPTIONS]%n")
  7. (channelprintf file "INDEX=main_index%n")
  8. (channelprintf file "TITLE=REDUCE Help System: %w%n" package)
  9. (channelprintf file "COMPRESS=true%n")
  10. (channelprintf file "WARNING=1%n")
  11. (channelprintf file "[FILES]%n")
  12. (channelprintf file "%w.rtf ; main topics%n" package)
  13. (close file)
  14. (setq file (open "do.bat" 'output))
  15. (channelprintf file "f:\mstools\bin\hc30 %w%n" package)
  16. (channelprintf file "copy %w.hlp d:\redu35\help%n" package)
  17. (channelprintf file "del %w.hpj%n" package)
  18. (close file)
  19. (quit)