[PATCH RFC STABLE?] setup: include manpages in bdist_* targets
Kevin Bullock
kbullock+mercurial at ringworld.org
Fri Feb 18 10:30:28 CST 2011
# HG changeset patch
# User Kevin Bullock <kbullock at ringworld.org>
# Date 1298046139 21600
# Branch stable
# Node ID 57ebc0117809fc1aecb9e6aa1b97fbe1a30574ec
# Parent 6169493ac3f9392ffb1adbfed6e8e5546bf1e3ed
setup: include manpages in bdist_* targets
Adds the manpages to the data_files option so that they get included
into bdist_* packages.
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -358,7 +358,8 @@
f = os.path.join(curdir, f)
packagedata['mercurial'].append(f)
-datafiles = []
+datafiles = [('man/man1', ['doc/hg.1']),
+ ('man/man5', ['doc/hgignore.5', 'doc/hgrc.5'])]
setupversion = version
extra = {}
More information about the Mercurial-devel
mailing list