~openerp/openobject-client/trunk

« back to all changes in this revision

Viewing changes to configure

  • Committer: Thibault Francois
  • Date: 2011-01-16 17:40:16 UTC
  • mto: (1.1.150 debbuild)
  • mto: This revision was merged to the branch mainline in revision 1780.
  • Revision ID: tfr@openerp.com-20110116174016-2ocojqmb4i2bxg38
[FIX] packaging windows and linux

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
import sys
 
3
import optparse,os
 
4
 
 
5
parser = optparse.OptionParser()
 
6
parser.add_option("", "--prefix", dest="prefix",default="/usr/local",help="installation prefix (default: /usr/local)")
 
7
(o, a) = parser.parse_args()
 
8
 
 
9
print "Configuring prefix=",o.prefix
 
10
 
 
11
prefix=o.prefix
 
12
python='python%s.%s' % sys.version_info[:2]
 
13
file("Makefile","w").write(file("configure.makefile").read() % (prefix, python))