148becaf0Smrg# Copyright © 2020 Intel Corporation
248becaf0Smrg
348becaf0Smrg# Permission is hereby granted, free of charge, to any person obtaining a copy
448becaf0Smrg# of this software and associated documentation files (the "Software"), to deal
548becaf0Smrg# in the Software without restriction, including without limitation the rights
648becaf0Smrg# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
748becaf0Smrg# copies of the Software, and to permit persons to whom the Software is
848becaf0Smrg# furnished to do so, subject to the following conditions:
948becaf0Smrg
1048becaf0Smrg# The above copyright notice and this permission notice shall be included in
1148becaf0Smrg# all copies or substantial portions of the Software.
1248becaf0Smrg
1348becaf0Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1448becaf0Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1548becaf0Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1648becaf0Smrg# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1748becaf0Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1848becaf0Smrg# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1948becaf0Smrg# SOFTWARE.
2048becaf0Smrg
2148becaf0Smrgcustom_target(
2248becaf0Smrg  'scanpci.1',
2348becaf0Smrg  input : 'scanpci.man',
2448becaf0Smrg  output : 'scanpci.1',
2548becaf0Smrg  command : [
2648becaf0Smrg    find_program('sed'), '-e', 's/__xorgversion__/X Version 11/', '@INPUT@',
2748becaf0Smrg  ],
2848becaf0Smrg  capture : true,
2948becaf0Smrg  install : false,
3048becaf0Smrg  install_dir : join_paths(get_option('prefix'), get_option('mandir'), 'man1'),
3148becaf0Smrg)
3248becaf0Smrg
33