Last change
on this file since 120 was
114,
checked in by bas, 18 years ago
|
Added some new info to debian/control
|
File size:
953 bytes
|
Line | |
---|
1 | TAR=tar |
---|
2 | GZIP_ENV=--best |
---|
3 | |
---|
4 | PREFIX=@prefix@ |
---|
5 | exec_prefix=$(PREFIX) |
---|
6 | BINDIR=$(PREFIX)/bin |
---|
7 | PBSLIB=@pbspath@ |
---|
8 | |
---|
9 | |
---|
10 | DOCDIR=/usr/share/doc/pbs-python |
---|
11 | EXAMPLES=$(DOCDIR)/examples |
---|
12 | |
---|
13 | .PHONY: install pythonlib |
---|
14 | pythonlib: |
---|
15 | #(cd src; make) |
---|
16 | python setup.py build |
---|
17 | |
---|
18 | install: pythonlib sara_install |
---|
19 | #install: pythonlib |
---|
20 | #mkdir -p $(DESTDIR)/@pyexecdir@ $(DESTDIR)/$(BINDIR) |
---|
21 | #install build/lib*/* $(DESTDIR)/@pyexecdir@ |
---|
22 | #(cd examples; for i in *py; do install $$i $(DESTDIR)/$(EXAMPLES)/$${i//.py/}; done) |
---|
23 | #python ./setup.py install --prefix $(DESTDIR)/@pyexecdir@ ; |
---|
24 | |
---|
25 | python ./setup.py install --prefix $(DESTDIR)/$(exec_prefix) ; |
---|
26 | install -D LICENSE.SARA $(DESTDIR)/$(DOCDIR)/LICENSE.SARA |
---|
27 | (cd examples; for i in *py; do install -D $$i $(DESTDIR)/$(EXAMPLES)/$${i}; done) |
---|
28 | |
---|
29 | sara_install: |
---|
30 | install -D examples/new_rack_pbsmon.py $(DESTDIR)/$(BINDIR)/pbsmon |
---|
31 | |
---|
32 | clean: |
---|
33 | cd src; make clean |
---|
34 | rm -rf config.log config.cache config.status build |
---|
35 | |
---|
36 | distclean: clean |
---|
37 | rm -rf Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.