Ignore:
Timestamp:
09/26/05 16:34:33 (19 years ago)
Author:
bas
Message:

pbs_python/distro:

  • Easier build for SARA install so we get rid of beo_pbs*
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pbs_swig/distro/Makefile.in

    r66 r86  
    55exec_prefix=$(PREFIX)
    66BINDIR=$(PREFIX)/bin
     7DOCDIR=/usr/share/doc/pbs-python
     8EXAMPLES=$(DOCDIR)/examples
    79
    810.PHONY: install pythonlib
     
    1113        python setup.py build
    1214
    13 install: pythonlib
     15install: pythonlib sara_install
    1416        #mkdir -p $(DESTDIR)/@pyexecdir@ $(DESTDIR)/$(BINDIR)
    15         #(cd examples; for i in *py; do install $$i  $(DESTDIR)/$(BINDIR)/$${i//.py/}; done)
    1617        #install build/lib*/* $(DESTDIR)/@pyexecdir@
     18        #(cd examples; for i in *py; do install $$i  $(DESTDIR)/$(EXAMPLES)/$${i//.py/}; done)
    1719        #python ./setup.py install --prefix $(DESTDIR)/@pyexecdir@ ;
    1820
    1921        python ./setup.py install --prefix $(DESTDIR)/$(exec_prefix) ;
     22        install -D LICENSE.SARA $(DESTDIR)/$(DOCDIR)/LICENSE.SARA
     23        (cd examples; for i in *py; do install -D $$i  $(DESTDIR)/$(EXAMPLES)/$${i}; done)
     24
     25sara_install:
     26        install -D examples/rack_pbsmon.py $(DESTDIR)/$(BINDIR)/pbsmon
    2027
    2128clean:
Note: See TracChangeset for help on using the changeset viewer.