old_contents: #!/usr/bin/python3
  # SPDX-License-Identifier: LGPL-2.1+
  
  from setuptools import setup, Command
  
  class BuildManpage(Command):
      description = ('builds the manpage')
      user_options = []
  
      def initialize_options(self):
          pass
      def finalize_options(self):
          pass
  
      def run(self):
          self.spawn(['pandoc', '-t', 'man', '-o', 'mkosi.1', 'mkosi.md'])
  
  
  setup(
      name="mkosi",
      version="5",
      description="Create legacy-free OS images",
      url="https://github.com/systemd/mkosi",
      maintainer="mkosi contributors",
      maintainer_email="systemd-devel@lists.freedesktop.org",
      license="LGPLv2+",
      python_requires=">=3.6",
      packages = ["mkosi"],
      cmdclass = { "man": BuildManpage },
      entry_points = {"console_scripts": ["mkosi=mkosi.__main__"]},
  )
  
new_contents: #!/usr/bin/python3
  # SPDX-License-Identifier: LGPL-2.1+
  
  from setuptools import setup, Command
  
  class BuildManpage(Command):
      description = ('builds the manpage')
      user_options = []
  
      def initialize_options(self):
          pass
      def finalize_options(self):
          pass
  
      def run(self):
          self.spawn(['pandoc', '-t', 'man', '-s', '-o', 'mkosi.1', 'mkosi.md'])
  
  
  setup(
      name="mkosi",
      version="5",
      description="Create legacy-free OS images",
      url="https://github.com/systemd/mkosi",
      maintainer="mkosi contributors",
      maintainer_email="systemd-devel@lists.freedesktop.org",
      license="LGPLv2+",
      python_requires=">=3.6",
      packages = ["mkosi"],
      cmdclass = { "man": BuildManpage },
      entry_points = {"console_scripts": ["mkosi=mkosi.__main__"]},
  )
  
subject: Fix man page generation