[GRASS-SVN] r51686 - grass/trunk/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 23 13:41:18 EDT 2012
Author: lucadelu
Date: 2012-05-23 10:41:18 -0700 (Wed, 23 May 2012)
New Revision: 51686
Modified:
grass/trunk/scripts/g.extension/g.extension.py
Log:
fix directory of man
Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py 2012-05-23 17:30:50 UTC (rev 51685)
+++ grass/trunk/scripts/g.extension/g.extension.py 2012-05-23 17:41:18 UTC (rev 51686)
@@ -713,7 +713,7 @@
dirs = { 'bin' : os.path.join(tmpdir, name, 'bin'),
'docs' : os.path.join(tmpdir, name, 'docs'),
'html' : os.path.join(tmpdir, name, 'docs', 'html'),
- 'man' : os.path.join(tmpdir, name, 'man', 'man1'),
+ 'man' : os.path.join(tmpdir, name, 'docs', 'man', 'man1'),
'scripts' : os.path.join(tmpdir, name, 'scripts'),
'etc' : os.path.join(tmpdir, name, 'etc'),
}
@@ -842,7 +842,7 @@
for fpath in [os.path.join(options['prefix'], 'bin', name),
os.path.join(options['prefix'], 'scripts', name),
os.path.join(options['prefix'], 'docs', 'html', name + '.html'),
- os.path.join(options['prefix'], 'man', 'man1', name + '.1')]:
+ os.path.join(options['prefix'], 'docs', 'man', 'man1', name + '.1')]:
if os.path.isfile(fpath):
if force:
grass.verbose(fpath)
@@ -920,7 +920,7 @@
check_style_files('grass_logo.png')
check_style_files('grassdocs.css')
create_dir(os.path.join(options['prefix'], 'etc'))
- create_dir(os.path.join(options['prefix'], 'man', 'man1'))
+ create_dir(os.path.join(options['prefix'], 'docs', 'man', 'man1'))
create_dir(os.path.join(options['prefix'], 'scripts'))
# fix file URI in manual page
More information about the grass-commit
mailing list