# HG changeset patch # User Augie Fackler # Date 2019-11-22 23:02:12 # Node ID e8373b215a678084b5b434a310c8d88aa03c6876 # Parent 20a3bf5e71d669799f42122d7afb5d09c37b6835 windows: further build fixes for the WiX installer With these fixes in place, the .msi actually builds for me again. Differential Revision: https://phab.mercurial-scm.org/D7509 diff --git a/contrib/packaging/hgpackaging/py2exe.py b/contrib/packaging/hgpackaging/py2exe.py --- a/contrib/packaging/hgpackaging/py2exe.py +++ b/contrib/packaging/hgpackaging/py2exe.py @@ -45,7 +45,7 @@ STAGING_RULES = [ ('doc/*.html', 'doc/'), ('doc/style.css', 'doc/'), ('mercurial/helptext/**/*.txt', 'helptext/'), - ('mercurial/default.d/*.rc', 'hgrc.d/'), + ('mercurial/defaultrc/*.rc', 'hgrc.d/'), ('mercurial/locale/**/*', 'locale/'), ('mercurial/templates/**/*', 'Templates/'), ('COPYING', 'Copying.txt'), diff --git a/contrib/packaging/wix/mercurial.wxs b/contrib/packaging/wix/mercurial.wxs --- a/contrib/packaging/wix/mercurial.wxs +++ b/contrib/packaging/wix/mercurial.wxs @@ -100,7 +100,7 @@ - + diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -935,7 +935,7 @@ class hgbuilddoc(Command): # This logic is duplicated in doc/Makefile. sources = set( f - for f in os.listdir('mercurial/help') + for f in os.listdir('mercurial/helptext') if re.search(r'[0-9]\.txt$', f) )