Commit 878842a2 authored by Oskar Skog's avatar Oskar Skog

Test 0.5.0: No need for the -w option anymore

parent d184868a
2017-02-20 Oskar Skog <https://oskog97.com/#contact>
0.5.0
*: Updated the year on a few copyright statements.
* INSTALL, configure.py: No need for the -w option anymore.
(Something must have broken its use by now. ;)
2017-01-02 Oskar Skog <https://oskog97.com/#contact>
0.4.17
......
......@@ -106,8 +106,6 @@ Advanced installation
configure will also accept these short options:
-f Force; write the Makefile even if there were errors.
-v verbose; this also affects the Makefile
-w Use sys.prefix as prefix. (For quickly removing versions
older than 0.0.31.)
The real "configure" script will handle these iff they are the ONLY
argument to ./configure:
......@@ -250,8 +248,6 @@ Advanced installation
uninstall
This will remove the system-wide configuration files as well.
To remove an installed version older than 0.0.31 you'll need
to run ./configure with the -w option.
WARNING: This removes the configuration files, even if altered.
WARNING: This removed the highscores file.
......
......@@ -252,9 +252,6 @@ def find_prefix(Makefile, flags):
'''
# http://stackoverflow.com/questions/4271494/what-sets-up-sys-path-with-python-and-when
if 'prefix' not in Makefile:
if flags['w']:
Makefile['prefix'] = sys.prefix
return False
trywith = [
'/usr/local',
'/usr/pkg', # For Minix, MUST be above /usr
......@@ -275,11 +272,6 @@ def find_prefix(Makefile, flags):
else:
sys.stderr.write('Cannot find $(prefix).\n')
return True
else:
if flags['w']:
sys.stderr.write(
'You cannot specify prefix manually and have the -w option.\n')
return True
return False
......@@ -501,7 +493,7 @@ def main():
'bindir': '$(prefix)/bin',
'libdir': '$(prefix)/lib',
}
forced_vars, flags = getargs('fvw')
forced_vars, flags = getargs('fv')
Makefile.update(forced_vars)
error = chk_deps()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment