bashcompletions += ['more']
endif
-exe = executable(
- 'hexdump',
- hexdump_sources,
- include_directories : includes,
- link_with : [lib_common,
- lib_tcolors],
- install_dir : usrbin_exec_dir,
- install : true)
+if not get_option('build-hexdump').disabled()
+ exe = executable(
+ 'hexdump',
+ hexdump_sources,
+ include_directories : includes,
+ link_with : [lib_common,
+ lib_tcolors],
+ install_dir : usrbin_exec_dir)
+else
+ exe = disabler()
+endif
if not is_disabler(exe)
- exes += exe
- manadocs += ['text-utils/hexdump.1.adoc']
- bashcompletions += ['hexdump']
+ exes += exe
+ manadocs += ['text-utils/hexdump.1.adoc']
+ bashcompletions += ['hexdump']
endif
opt = not get_option('build-lsmem').disabled()
description : 'install bash completion files')
option('build-pylibmount', type : 'feature',
description : 'build pylibmount')
+option('build-hexdump', type : 'feature',
+ description : 'build hexdump')
# static programs