summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2019-04-16 07:29:21 +0200
committerStefan Sauer <ensonic@users.sf.net>2019-04-16 07:34:47 +0200
commit400ee0c23732039ca7af27d37e2426413dff01c7 (patch)
treea978b4b5aab8f741ce508f0b96ab59f46340bb47
parent868d9ba4f12aab6e37623a1fce1299908068b959 (diff)
downloadgtk-doc-400ee0c23732039ca7af27d37e2426413dff01c7.tar.gz
meson: drop checks for highlighters
We now use pygments in fixxref too.
-rw-r--r--gtkdoc/meson.build2
-rw-r--r--meson.build27
2 files changed, 0 insertions, 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()