File: Makefile

package info (click to toggle)
zope-textindexng2 1%3A2.2.0-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,888 kB
  • ctags: 1,598
  • sloc: ansic: 6,836; python: 6,596; xml: 185; makefile: 137; sh: 41
file content (27 lines) | stat: -rw-r--r-- 562 bytes parent folder | download | duplicates (2)
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
PYTHON=python2.2

clean:
	find . -name build | xargs rm -fr 
	find . -name dist | xargs rm -fr 
	find . -name \*.pyc |xargs rm -f
	find . -name core\* |xargs rm -f
	find . -name \*.o |xargs rm -f
	find . -name \*.so | xargs rm -f

dist: 
	tar cfvz /tmp/TextIndexNG-`cat VERSION.txt`.tar.gz *
	${PYTHON} setup.py sdist
	${PYTHON} setup.py bdist

build:
	${PYTHON} setup.py build

install:
	${PYTHON} setup.py install

test:
	${PYTHON} ../../../../utilities/testrunner.py -d ${PWD}    

perm:
	find . -type f | xargs chmod a+rw 
	find . -type d | xargs chmod a+rx