Changeset 99 for trunk/oarutils


Ignore:
Timestamp:
Nov 13, 2013, 3:37:09 PM (10 years ago)
Author:
g7moreau
Message:
  • Add new oar-profile.sh for bash source profile
Location:
trunk/oarutils
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oarutils/Makefile

    r98 r99  
    77
    88TARGET_C    := mpilauncher
    9 TARGET_MAN  := mpilauncher.1    oar-envsh.1    oar-dispatch.1    oar-parexec.1
    10 TARGET_HTML := mpilauncher.html oar-envsh.html oar-dispatch.html oar-parexec.html
     9TARGET_MAN  := mpilauncher.1    oar-envsh.1    oar-dispatch.1    oar-parexec.1    oar-profile.1
     10TARGET_HTML := mpilauncher.html oar-envsh.html oar-dispatch.html oar-parexec.html oar-profile.html
    1111
    1212PREFIX     :=/opt/oar/current
    1313PREFIX_MAN  =$(PREFIX)/man
     14PREFIX_ETC  =$(PREFIX)/etc
    1415
    1516
     
    3637        @install -d -m 0755 -o root -g root $(PREFIX)/bin
    3738        @install -d -m 0755 -o root -g root $(PREFIX_MAN)/man1
     39        @install -d -m 0755 -o root -g root $(PREFIX_ETC)/
    3840        install -m 0755 -o root -g root oar-parexec $(PREFIX)/bin
    3941        install -m 0755 -o root -g root oar-dispatch $(PREFIX)/bin
     
    4345        install -m 0644 -o root -g root mpilauncher.1 $(PREFIX_MAN)/man1
    4446        install -m 0644 -o root -g root oar-envsh.1 $(PREFIX_MAN)/man1
     47        install -m 0644 -o root -g root oar-profile.1 $(PREFIX_MAN)/man1
     48        install -m 0644 -o root -g root oar-profile.sh $(PREFIX_ETC)
    4549
    4650sync:
     
    6266        sed -re 's#^[/ ]\* ?##; s#^// ?##' $< | pod2html > $@
    6367
     68%.1: %.sh
     69        pod2man -n $* $(PODFLAG) $< > $@
     70
     71%.html: %.sh
     72        pod2html $< > $@
     73
    6474%.1: %
    6575        pod2man -n $* $(PODFLAG) $< > $@
Note: See TracChangeset for help on using the changeset viewer.