Changeset 209981 in webkit


Ignore:
Timestamp:
Dec 19, 2016 5:02:54 AM (7 years ago)
Author:
Michael Catanzaro
Message:

[GTK] GtkDoc build should be quieter
https://bugs.webkit.org/show_bug.cgi?id=165994

Reviewed by Carlos Garcia Campos.

Make it not print by default.

  • gtk/generate-gtkdoc:

(get_generator_for_config):
(generate_doc):

  • gtk/gtkdoc.py:

(GTKDoc._run_command):
(GTKDoc._copy_doc_files_to_output_dir):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r209975 r209981  
     12016-12-19  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        [GTK] GtkDoc build should be quieter
     4        https://bugs.webkit.org/show_bug.cgi?id=165994
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Make it not print by default.
     9
     10        * gtk/generate-gtkdoc:
     11        (get_generator_for_config):
     12        (generate_doc):
     13        * gtk/gtkdoc.py:
     14        (GTKDoc._run_command):
     15        (GTKDoc._copy_doc_files_to_output_dir):
     16
    1172016-12-18  Simon Fraser  <simon.fraser@apple.com>
    218
  • trunk/Tools/gtk/generate-gtkdoc

    r205280 r209981  
    130130
    131131def generate_doc(generator, skip_html):
    132     print("\nGenerating {0} documentation...".format(generator.module_name))
    133132    generator.generate(not skip_html)
    134133    if generator.saw_warnings:
     
    137136
    138137def rebase_doc(generator):
    139     print("\nRebasing {0} documentation...".format(generator.module_name))
    140138    try:
    141139        generator.rebase_installed_docs()
  • trunk/Tools/gtk/gtkdoc.py

    r178103 r209981  
    183183        return answer == 'y'
    184184
    185     def _run_command(self, args, env=None, cwd=None, print_output=True, ignore_warnings=False):
     185    def _run_command(self, args, env=None, cwd=None, print_output=False, ignore_warnings=False):
    186186        if print_output:
    187187            self.logger.info("Running %s", args[0])
     
    244244                                             os.path.join(dest, path))
    245245
    246         self.logger.info('Copying template files to output directory...')
     246        self.logger.debug('Copying template files to output directory...')
    247247        self._create_directory_if_nonexistent(self.output_dir)
    248248        copy_all_files_in_directory(self.doc_dir, self.output_dir)
     
    251251            return
    252252
    253         self.logger.info('Copying HTML files to output directory...')
     253        self.logger.debug('Copying HTML files to output directory...')
    254254        html_src_dir = os.path.join(self.doc_dir, 'html')
    255255        html_dest_dir = os.path.join(self.output_dir, 'html')
Note: See TracChangeset for help on using the changeset viewer.