[gtk-doc] meson: drop checks for highlighters



commit 400ee0c23732039ca7af27d37e2426413dff01c7
Author: Stefan Sauer <ensonic users sf net>
Date:   Tue Apr 16 07:29:21 2019 +0200

    meson: drop checks for highlighters
    
    We now use pygments in fixxref too.

 gtkdoc/meson.build |  2 --
 meson.build        | 27 ---------------------------
 2 files changed, 29 deletions(-)
---
diff --git a/gtkdoc/meson.build b/gtkdoc/meson.build
index 8975023..7ae09d7 100644
--- a/gtkdoc/meson.build
+++ b/gtkdoc/meson.build
@@ -5,8 +5,6 @@ config_py.set('datadir', '${datarootdir}')
 
 config_py.set('DBLATEX', dblatex_prg_path)
 config_py.set('FOP', fop_prg_path)
-config_py.set('HIGHLIGHT', highlight_prg_path)
-config_py.set('HIGHLIGHT_OPTIONS', ' '.join(highlight_prg_args))
 config_py.set('PKG_CONFIG', pkgconfig_prg_path)
 config_py.set('XSLTPROC', xsltproc_prg_path)
 
diff --git a/meson.build b/meson.build
index 823b203..46277e7 100644
--- a/meson.build
+++ b/meson.build
@@ -43,10 +43,6 @@ xsltproc_prg = find_program('xsltproc', required: true)
 dblatex_prg = find_program('dblatex', required: false)
 fop_prg = find_program('fop', required: false)
 
-source_highlight_prg = find_program('source-highlight', required: false)
-highlight_prg = find_program('highlight', required: false)
-vim_prg = find_program('vim', required: false)
-
 python_prg_path = join_paths(python_prg.path())
 pkgconfig_prg_path = join_paths(pkgconfig_prg.path())
 xsltproc_prg_path = join_paths(xsltproc_prg.path())
@@ -61,29 +57,6 @@ if fop_prg.found()
   fop_prg_path = join_paths(fop_prg.path())
 endif
 
-highlight_prg_path = ''
-highlight_prg_args = []
-if source_highlight_prg.found()
-  highlight_prg_path = join_paths(source_highlight_prg.path())
-  highlight_prg_args = [
-    '-t4',
-    '-s$SRC_LANG',
-    '-cstyle.css',
-    '--no-doc',
-    '-i',
-  ]
-elif highlight_prg.found()
-  highlight_prg_path = join_paths(highlight_prg.path())
-  highlight_prg_args = [
-    '--syntax=$SRC_LANG',
-    '--out-format=xhtml',
-    '-f',
-    '--class-name=gtkdoc',
-  ]
-elif vim_prg.found()
-  highlight_prg_path = join_paths(vim_prg.path())
-endif
-
 # Options
 generate_pdf_output = true
 if not dblatex_prg.found() and not fop_prg.found()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]