;+ ; NAME: ; run_ssw_smei ; PURPOSE: ; IDL main program to update the SSW help files. ; CATEGORY: ; www_help ; CALLING SEQUENCE: ; idl run_ssw_smei ; INPUTS: ; (none) ; OUTPUTS: ; (html files) ; CALLS: ; www_help_tree, do_file ; PROCEDURE: ; After completion IDL exits again. ; MODIFICATION HISTORY: ; JAN-2002, Paul Hick (UCSD/CASS) ; FEB-2003, Paul Hick (UCSD/CASS; pphick@ucsd.edu) ; Added www_help_sync.py call ;- tree = getenv('FTP_ANON') if tree eq '' then message, /info, 'FTP_ANON not defined' if tree eq '' then exit tree = filepath(root=tree, subdir='ssw_smei', 'ucsd') message, /info, 'destination '+tree master = 'SSW_SMEI_UCSD' copyright = 'UCSD_copyright.html' question = 'question_mark.gif' html_local = filepath(root=tree, 'doc') tmp = do_file(/copy, filepath(root=tree, copyright), filepath(root=html_local, copyright)) tmp = do_file(/copy, filepath(root=tree, question ), filepath(root=html_local, question )) setenv, 'www_help='+getenv('TUB') www_help_tree, html_local, tree, master, /use_path, copyrigh=copyright, prefix='pro_', ['*.pro'], tabsize=4 www_help_tree, html_local, tree, master, /use_path, copyrigh=copyright, prefix='for_', ['*.f','*.h'] exit ; Exit IDL