1 # Makefile for packaging and installing cvs2svn.
3 # The python interpreter to be used can be overridden here or via
4 # something like "make ... PYTHON=/path/to/python2.5". Please note
5 # that this option only affects the "install" and "check" targets:
9 @echo
"Supported make targets:"
10 @echo
" man -- Create manpages for the main programs"
11 @echo
" install -- Install software using distutils"
12 @echo
" dist -- Create an installation package"
13 @echo
" check -- Run cvs2svn tests"
14 @echo
" pycheck -- Use pychecker to check cvs2svn Python code"
15 @echo
" clean -- Clean up source tree and temporary directory"
17 man
: cvs2svn
.1 cvs2git
.1
29 @case
"${DESTDIR}" in \
31 echo
${PYTHON} .
/setup.py
install ; \
32 ${PYTHON} .
/setup.py
install ; \
35 echo
${PYTHON} .
/setup.py
install --root
=${DESTDIR} ; \
36 ${PYTHON} .
/setup.py
install --root
=${DESTDIR} ; \
41 ${PYTHON} .
/run-tests.py
44 pychecker cvs2svn_lib
/*.py
47 -rm -rf cvs2svn-
*.
tar.gz build cvs2svn-tmp
48 -for d in . cvs2svn_lib cvs2svn_rcsparse svntest contrib
; \
50 rm -f
$$d/*.pyc
$$d/*.pyo
; \