Last change
on this file since 329 was
316,
checked in by bas, 9 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
|
Line | |
---|
1 | TAR=tar |
---|
2 | GZIP_ENV=--best |
---|
3 | |
---|
4 | PACKAGE_TARNAME=@PACKAGE_TARNAME@ |
---|
5 | |
---|
6 | PREFIX=@prefix@ |
---|
7 | exec_prefix=$(PREFIX) |
---|
8 | BINDIR=$(PREFIX)/bin |
---|
9 | |
---|
10 | DOCDIR=@docdir@ |
---|
11 | EXAMPLES=$(PREFIX)/$(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 | python ./setup.py install --prefix $(DESTDIR)/$(exec_prefix) ; |
---|
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 |
---|
24 | (cd examples; for i in *py; do install -D $$i $(DESTDIR)/$(EXAMPLES)/$${i}; done) |
---|
25 | |
---|
26 | sara_install: |
---|
27 | install -D examples/new_rack_pbsmon.py $(DESTDIR)/$(BINDIR)/pbsmon |
---|
28 | |
---|
29 | clean: |
---|
30 | rm -rf config.log config.cache config.status build |
---|
31 | |
---|
32 | distclean: clean |
---|
33 | rm Makefile setup.py |
---|
Note: See
TracBrowser
for help on using the repository browser.