source: tags/4.0.2/Makefile.in

Last change on this file was 216, checked in by bas, 14 years ago

New configure options to determine version and where the libs are installed, borrowed from mpiexec

File size: 667 bytes
Line 
1TAR=tar
2GZIP_ENV=--best
3
4PREFIX=@prefix@
5exec_prefix=$(PREFIX)
6BINDIR=$(PREFIX)/bin
7
8DOCDIR=/usr/share/doc/pbs-python
9EXAMPLES=$(DOCDIR)/examples
10
11.PHONY: install pythonlib
12pythonlib:
13        #(cd src; make)
14        python setup.py build
15
16#install: pythonlib sara_install
17install: pythonlib
18        python ./setup.py install --prefix $(DESTDIR)/$(exec_prefix) ;
19        install -D LICENSE.SARA $(DESTDIR)/$(DOCDIR)/LICENSE.SARA
20        (cd examples; for i in *py; do install -D $$i  $(DESTDIR)/$(EXAMPLES)/$${i}; done)
21
22sara_install:
23        install -D examples/new_rack_pbsmon.py $(DESTDIR)/$(BINDIR)/pbsmon
24
25clean:
26        rm -rf config.log config.cache config.status build
27
28distclean: clean
29        rm Makefile setup.py
Note: See TracBrowser for help on using the repository browser.