Patchwork D7162: packaging: install documentation to doc/ directory

login
register
mail settings
Submitter phabricator
Date Oct. 24, 2019, 1:56 a.m.
Message ID <differential-rev-PHID-DREV-hi2jzsekqwyeb6vngj7c-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42550/
State Superseded
Headers show

Comments

phabricator - Oct. 24, 2019, 1:56 a.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The source directory is "doc" and "doc" is used by the WiX
  installer. I think it makes sense to converge on the canonical
  path name. While we're here, we also lower the case because
  we can. (I think lower case names make more sense plus it is
  more consistent.)
  
  This only affects the Inno installer at the moment because
  it is the only installer using the staging code.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7162

AFFECTED FILES
  contrib/packaging/hgpackaging/py2exe.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

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
@@ -41,8 +41,8 @@ 
     ('dist/Microsoft.VC*.CRT.manifest', './'),
     ('dist/msvc*.dll', './'),
     ('dist/python*.dll', './'),
-    ('doc/*.html', 'Docs/'),
-    ('doc/style.css', 'Docs/'),
+    ('doc/*.html', 'doc/'),
+    ('doc/style.css', 'doc/'),
     ('mercurial/help/**/*.txt', 'help/'),
     ('mercurial/default.d/*.rc', 'default.d/'),
     ('mercurial/locale/**/*', 'locale/'),