source: trunk/Makefile.in @ 172

Last change on this file since 172 was 172, checked in by bas, 16 years ago

Preparing for new version

File size: 681 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
18#install: pythonlib sara_install
19install: pythonlib
20        python ./setup.py install --prefix $(DESTDIR)/$(exec_prefix) ;
21        install -D LICENSE.SARA $(DESTDIR)/$(DOCDIR)/LICENSE.SARA
22        (cd examples; for i in *py; do install -D $$i  $(DESTDIR)/$(EXAMPLES)/$${i}; done)
23
24sara_install:
25        install -D examples/new_rack_pbsmon.py $(DESTDIR)/$(BINDIR)/pbsmon
26
27clean:
28        rm -rf config.log config.cache config.status build
29
30distclean: clean
31        rm -rf Makefile
Note: See TracBrowser for help on using the repository browser.