Last change
on this file since 329 was
316,
checked in by bas, 10 years ago
|
Dennis Stam:
- fixed docdir error, closes #39
- added a new option to examples/new_rack_pbsmon.py
-p/--property
- improved the autoconf setup
|
File size:
843 bytes
|
Rev | Line | |
---|
[64] | 1 | TAR=tar |
---|
| 2 | GZIP_ENV=--best |
---|
| 3 | |
---|
[316] | 4 | PACKAGE_TARNAME=@PACKAGE_TARNAME@ |
---|
| 5 | |
---|
[64] | 6 | PREFIX=@prefix@ |
---|
| 7 | exec_prefix=$(PREFIX) |
---|
| 8 | BINDIR=$(PREFIX)/bin |
---|
[95] | 9 | |
---|
[316] | 10 | DOCDIR=@docdir@ |
---|
| 11 | EXAMPLES=$(PREFIX)/$(DOCDIR)/examples |
---|
[64] | 12 | |
---|
| 13 | .PHONY: install pythonlib |
---|
| 14 | pythonlib: |
---|
[65] | 15 | #(cd src; make) |
---|
[64] | 16 | python setup.py build |
---|
| 17 | |
---|
[209] | 18 | #install: pythonlib sara_install |
---|
| 19 | install: pythonlib |
---|
[66] | 20 | python ./setup.py install --prefix $(DESTDIR)/$(exec_prefix) ; |
---|
[316] | 21 | install -D LICENSE.openpbs $(DESTDIR)/$(PREFIX)/$(DOCDIR)/LICENSE.openpbs |
---|
| 22 | install -D COPYING $(DESTDIR)/$(PREFIX)/$(DOCDIR)/COPYING |
---|
| 23 | install -D COPYING.LESSER $(DESTDIR)/$(PREFIX)/$(DOCDIR)/COPYING.LESSER |
---|
[86] | 24 | (cd examples; for i in *py; do install -D $$i $(DESTDIR)/$(EXAMPLES)/$${i}; done) |
---|
[66] | 25 | |
---|
[86] | 26 | sara_install: |
---|
[107] | 27 | install -D examples/new_rack_pbsmon.py $(DESTDIR)/$(BINDIR)/pbsmon |
---|
[86] | 28 | |
---|
[64] | 29 | clean: |
---|
[173] | 30 | rm -rf config.log config.cache config.status build |
---|
[64] | 31 | |
---|
| 32 | distclean: clean |
---|
[173] | 33 | rm Makefile setup.py |
---|
Note: See
TracBrowser
for help on using the repository browser.