Allow arbitrary Prefix attributes (#4591)
* Allow arbitrary Prefix attributes * Test attribute type as well * Flake8 fixes * Remove __new__ method * Fewer uses of join_path in the docs
This commit is contained in:

committed by
Todd Gamblin

parent
cac4362f64
commit
e5ce7b1639
@@ -57,14 +57,14 @@ def post_install(self):
|
||||
prefix = self.prefix
|
||||
|
||||
# Install man pages
|
||||
mkdirp(prefix.man1)
|
||||
mkdirp(prefix.man5)
|
||||
mkdirp(prefix.man8)
|
||||
mkdirp(prefix.man.man1)
|
||||
mkdirp(prefix.man.man5)
|
||||
mkdirp(prefix.man.man8)
|
||||
with working_dir('doc'):
|
||||
install('hg.1', prefix.man1)
|
||||
install('hgignore.5', prefix.man5)
|
||||
install('hgrc.5', prefix.man5)
|
||||
install('hg-ssh.8', prefix.man8)
|
||||
install('hg.1', prefix.man.man1)
|
||||
install('hgignore.5', prefix.man.man5)
|
||||
install('hgrc.5', prefix.man.man5)
|
||||
install('hg-ssh.8', prefix.man.man8)
|
||||
|
||||
# Install completion scripts
|
||||
contrib = join_path(prefix, 'contrib')
|
||||
|
Reference in New Issue
Block a user