Last change
on this file since 64 was
64,
checked in by bas, 19 years ago
|
Addded Configure script and debian tools:
- Thanks to Yaroslav Halchenko
|
File size:
483 bytes
|
Line | |
---|
1 | TAR=tar |
---|
2 | GZIP_ENV=--best |
---|
3 | |
---|
4 | PREFIX=@prefix@ |
---|
5 | exec_prefix=$(PREFIX) |
---|
6 | BINDIR=$(PREFIX)/bin |
---|
7 | |
---|
8 | .PHONY: install pythonlib |
---|
9 | pythonlib: |
---|
10 | (cd src; make) |
---|
11 | python setup.py build |
---|
12 | |
---|
13 | install: pythonlib |
---|
14 | mkdir -p $(DESTDIR)/@pyexecdir@ $(DESTDIR)/$(BINDIR) |
---|
15 | (cd examples; for i in *py; do install $$i $(DESTDIR)/$(BINDIR)/$${i//.py/}; done) |
---|
16 | install build/lib*/* $(DESTDIR)/@pyexecdir@ |
---|
17 | |
---|
18 | clean: |
---|
19 | cd src; make clean |
---|
20 | rm -rf config.log config.cache config.status build |
---|
21 | |
---|
22 | distclean: clean |
---|
23 | # rm -rf Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.