source: tags/2.8.2/Makefile.in

Last change on this file was 95, checked in by bas, 18 years ago

distro:

  • Setup.py is generated by configure
  • Added --with-pbsdir=PATH option to configure
File size: 929 bytes
Line 
1TAR=tar
2GZIP_ENV=--best
3
4PREFIX=@prefix@
5exec_prefix=$(PREFIX)
6BINDIR=$(PREFIX)/bin
7PBSLIB=@pbspath@
8
9
10DOCDIR=/usr/share/doc/pbs-python
11EXAMPLES=$(DOCDIR)/examples
12
13.PHONY: install pythonlib
14pythonlib:
15        #(cd src; make)
16        python setup.py build
17
18install: pythonlib sara_install
19        #mkdir -p $(DESTDIR)/@pyexecdir@ $(DESTDIR)/$(BINDIR)
20        #install build/lib*/* $(DESTDIR)/@pyexecdir@
21        #(cd examples; for i in *py; do install $$i  $(DESTDIR)/$(EXAMPLES)/$${i//.py/}; done)
22        #python ./setup.py install --prefix $(DESTDIR)/@pyexecdir@ ;
23
24        python ./setup.py install --prefix $(DESTDIR)/$(exec_prefix) ;
25        install -D LICENSE.SARA $(DESTDIR)/$(DOCDIR)/LICENSE.SARA
26        (cd examples; for i in *py; do install -D $$i  $(DESTDIR)/$(EXAMPLES)/$${i}; done)
27
28sara_install:
29        install -D examples/rack_pbsmon.py $(DESTDIR)/$(BINDIR)/pbsmon
30
31clean:
32        cd src; make clean     
33        rm -rf config.log config.cache config.status build
34
35distclean: clean
36        rm -rf Makefile
Note: See TracBrowser for help on using the repository browser.