diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-07-08 14:45:32 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-07-08 14:45:32 +0200 |
commit | 899841121260d62fc3f1c1728f82f5c02185dd97 (patch) | |
tree | 643abf1f58c3b627b786d3b89a103a0df956172f /pango-view/meson.build | |
parent | 5ec478dac9146175de7ba4a1f88ebbab963f4c0f (diff) | |
download | pango-899841121260d62fc3f1c1728f82f5c02185dd97.tar.gz |
Rename pango-view/ dir to utils/
Diffstat (limited to 'pango-view/meson.build')
-rw-r--r-- | pango-view/meson.build | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/pango-view/meson.build b/pango-view/meson.build deleted file mode 100644 index a0043fc7..00000000 --- a/pango-view/meson.build +++ /dev/null @@ -1,58 +0,0 @@ -pango_view_sources = [ - 'pango-view.c', - 'viewer-main.c', - 'viewer-render.c', -] - -pango_view_deps = [ - pango_deps, - libpango_dep, -] - -if build_pangoft2 - pango_view_sources += 'viewer-pangoft2.c' - pango_view_deps += libpangoft2_dep -endif - -if xft_dep.found() and build_pangoft2 - pango_view_sources += [ - 'viewer-pangoxft.c', - 'viewer-x.c', - ] - pango_view_deps += [ libpangoft2_dep, libpangoxft_dep, ] -endif - -if cairo_dep.found() - pango_view_sources += [ - 'viewer-cairo.c', - 'viewer-pangocairo.c', - ] - pango_view_deps += libpangocairo_dep -endif - -pango_view = executable('pango-view', pango_view_sources, - dependencies: pango_view_deps, - include_directories: [ root_inc ], - install: true, - c_args: [ - '-DPACKAGE_NAME="@0@"'.format(meson.project_name()), - '-DPACKAGE_VERSION="@0@"'.format(meson.project_version()), - ]) - -help2man = find_program('help2man', required: false) -if help2man.found() - help2man_opts = [ - '--no-info', - '--section=1', - '--help-option=--help-all', - '--name=Pango text viewer', - ] - - custom_target('pango-view.1', - output: 'pango-view.1', - command: [ - help2man, help2man_opts, '--output=@OUTPUT@', pango_view - ], - install: true, - install_dir: join_paths(pango_datadir, 'man/man1')) -endif |