forked from edgewall/trac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.cfg.sample
90 lines (69 loc) · 2.67 KB
/
Makefile.cfg.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# -*- Makefile -*- configuration file sample
#
# Copy to Makefile.cfg and adapt to your local environment.
#
# ----------------------------------------------------------------------------
# Switching between different Python installations
#
# (one of them can be selected with `make python=<key>`)
# python.<key> = <path to Python installation>
python.23 =
python.24 =
python.25 = C:/Dev/Python254
python.ap25 = C:/Dev/ActivePython254
python.26 = C:/Dev/Python261
python.27 = C:/Dev/Python278
# And also:
# pythonpath.<key> = <extension to the PYTHONPATH for that installation>
# path.<key> = <extension to the PATH for that installation>
pythonpath.26 = C:/Dev/svn-win32-1.6.21/python
path.26 = C:/Dev/svn-win32-1.6.21/bin
pythonpath.27 = C:/Dev/svn-win32-1.8.10/python
path.27 = C:/Dev/svn-win32-1.8.10/bin
# (both very convenient for specifying non-default Subversion bindings,
# for example)
# ----------------------------------------------------------------------------
# Switching between different database backends
#
# (one of them can be selected with `make db=<backend>`)
# db URIs
# <backend>.uri = <db:params>
sqlite.uri = sqlite:test.db
mysql.uri = mysql://tracuser:tracpassword@localhost/trac
postgres.uri = postgres://tracuser:tracpassword@localhost:5432/trac?schema=tractest
# db backend to use if when `db=<backend>` parameter was given to `make`
.uri =
# (if left undefined, use in-memory sqlite)
# Python installation to use when `db=<backend>` is specified but `python=<key>`
# is not.
#
# <backend>.python = <key> where <key> corresponds to the python.<key> vars
mysql.python = 25
postgres.python = 26
.python =
# (if db is left empty, .python will get used to select the Python
# installation; if left undefined, the 'python' command will be used
# instead of a fully qualified pathname)
# For example, if you only have the MySqlDB Python bindings available
# for your Python 2.7.4 installation, specify something like:
# mysql.python = 27
#
# given that you also have:
# python.27 = <path to my 2.7.4 install containing the MySqlDB bindings...>
# ----------------------------------------------------------------------------
# Settings for the test server
env = ~/tracenvs
auth = *,~/tracenvs/htdigest.realm,realm
# ----------------------------------------------------------------------------
# Settings for the documentation
dotpath = /usr/local/bin/dot
# ----------------------------------------------------------------------------
# Custom rules - let your imagination go wild ;-)
.PHONY: bigtest
bigtest:
make python=24 test
make db=postgres test
make db=mysql test
.PHONY: frup frcomp
frup: stats-pot extraction update-fr stats-fr
frcomp: check-fr compile-fr stats-fr stats-pot