code: def finalize_options(self):
          
          install.finalize_options(self)
          if self.prefix is None:
              # no place for man page (like in a 'snap')
              man_dir = None
          else:
              man_dir = os.path.join(self.prefix, "share", "man", "man1")
  
              # if we have 'root', put the building path also under it (used normally
              # by pbuilder)
              if self.root is not None:
                  man_dir = os.path.join(self.root, man_dir[1:])
          self._custom_man_dir = man_dir
docs: Alter the installation path.