# -*- 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=`) # python. = python.23 = python.24 = python.25 = C:/Dev/Python254 python.ap25 = C:/Dev/ActivePython254 python.26 = C:/Dev/Python261 python.27 = # And also: # pythonpath. = # path. = # (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=`) # db URIs # .uri = 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=` parameter was given to `make` .uri = # (if left undefined, use in-memory sqlite) # Python installation to use when `db=` is specified but `python=` # is not. # # .python = where corresponds to the python. 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 = # ---------------------------------------------------------------------------- # 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