File: Makefile

package info (click to toggle)
python-ldap 1.9.999.pre04-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 312 kB
  • ctags: 475
  • sloc: ansic: 2,973; python: 1,141; makefile: 84; sh: 4
file content (28 lines) | stat: -rw-r--r-- 562 bytes parent folder | download
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
# $Id: Makefile,v 1.3 2001/11/15 00:48:11 leonard Exp $

PYTHON=	python

all: build

build: .force
	$(PYTHON) setup.py build

install:
	$(PYTHON) setup.py install

dist: .force
	$(PYTHON) setup.py bdist

srcdist: .force
	-mkdir -p dist
	NAME=python-ldap-`$(PYTHON) setup.py --version`; \
	cd dist && \
	rm -rf $$NAME && \
	cvs -d :pserver:anonymous@cvs.python-ldap.sourceforge.net:/cvsroot/python-ldap export -rHEAD -d $$NAME python-ldap && \
	tar fcv - $$NAME | gzip -9 > $$NAME-src.tar.gz

clean:
	$(PYTHON) setup.py clean --all
	-rm -rf dist build

.force: ;