[PATCH 0 of 6] Build documentation using distutils - v3

Mads Kiilerich mads at kiilerich.com
Thu Nov 26 16:00:52 CST 2009


Dan Villiom Podlaski Christiansen wrote, On 11/26/2009 08:48 PM:
> This is an updated version of my distutils-docutils-marriage
> patch. The primary changes are:

It doesn't apply cleanly to crew default - what should it be applied to?

applying setup_install_translation_files_as_package_data
applying setup_expand_configuration_variables_in_data_paths
applying setup_add_missing_share_directory_to_install_data_on_unix_platforms
applying setup_install_some_useful_data_files
applying 
setup_generate_build__install_documentation_using_distutils__docutils
patching file doc/Makefile
Hunk #1 FAILED at 0
1 out of 1 hunks FAILED -- saving rejects to file doc/Makefile.rej

> * The package data is now installed as actual package data instead of
>    regular data.
> * Both documentation&  manual locations are fully customisable, and
>    the values may refer to distutils configuration variables.
> * The RPM build specification has been updated to use distutils
>    exclusively. In theory, it works; I haven't been able to test it.

rpmbuild fails with:

+ python setup.py install --root 
/home/mk/hg/rpmbuild/BUILDROOT/mercurial-1.4+51-ea7e8def4911.i386 
--prefix /usr --install-doc /doc/- --install-man /usr/share/man
running install
error: error in command line: command 'install' has no such option 
'install_man'
error: Bad exit status from /var/tmp/rpm-tmp.l0yV2r (%install)

(I wonder where $install_data and $dist_name-$dist_version comes from, 
and I guess that the explicit installation of shell completion needs 
change too - but I haven't got so far that that is a problem.)

/Mads


More information about the Mercurial-devel mailing list