Last change
on this file since 170 was
170,
checked in by bas, 16 years ago
|
Makefile.in:
- fixed an error in make clean
|
File size:
681 bytes
|
Rev | Line | |
---|
[64] | 1 | TAR=tar |
---|
| 2 | GZIP_ENV=--best |
---|
| 3 | |
---|
| 4 | PREFIX=@prefix@ |
---|
| 5 | exec_prefix=$(PREFIX) |
---|
| 6 | BINDIR=$(PREFIX)/bin |
---|
[95] | 7 | PBSLIB=@pbspath@ |
---|
| 8 | |
---|
| 9 | |
---|
[86] | 10 | DOCDIR=/usr/share/doc/pbs-python |
---|
| 11 | EXAMPLES=$(DOCDIR)/examples |
---|
[64] | 12 | |
---|
| 13 | .PHONY: install pythonlib |
---|
| 14 | pythonlib: |
---|
[65] | 15 | #(cd src; make) |
---|
[64] | 16 | python setup.py build |
---|
| 17 | |
---|
[114] | 18 | install: pythonlib sara_install |
---|
| 19 | #install: pythonlib |
---|
[66] | 20 | python ./setup.py install --prefix $(DESTDIR)/$(exec_prefix) ; |
---|
[86] | 21 | install -D LICENSE.SARA $(DESTDIR)/$(DOCDIR)/LICENSE.SARA |
---|
| 22 | (cd examples; for i in *py; do install -D $$i $(DESTDIR)/$(EXAMPLES)/$${i}; done) |
---|
[66] | 23 | |
---|
[86] | 24 | sara_install: |
---|
[107] | 25 | install -D examples/new_rack_pbsmon.py $(DESTDIR)/$(BINDIR)/pbsmon |
---|
[86] | 26 | |
---|
[64] | 27 | clean: |
---|
[170] | 28 | rm -rf config.log config.cache config.status build |
---|
[64] | 29 | |
---|
| 30 | distclean: clean |
---|
[66] | 31 | rm -rf Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.