Changeset 120 for trunk/confman/Makefile


Ignore:
Timestamp:
12/04/2006 01:32:20 (5 years ago)
Author:
ccowart
Message:

Modularized some parts of confman for reuse. Used these elements in the
new roll-and-pull features available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman/Makefile

    r119 r120  
    22PREFIX := $(PREFIX)/rescomp 
    33 
     4DIRFLAGS                =       -d -o root -g wheel -m 0555 
     5EXFLAGS                 =       -Sp -o root -g wheel -m 0555 
     6INFLAGS                 =       -Sp -o root -g wheel -m 0444 
     7 
     8BINFILES                =       abspath 
     9SBINFILES               =       confman 
     10LIBEXECFILES    =       export.sh confsync.sh 
     11LIBFILES                =       confmanlib.sh confmandoc.sh 
     12ENVFILES                =       confman_completions 
     13DIRECTORIES             =       /etc /etc/env.d /lib /sbin /bin /libexec 
     14 
    415install :  
    5         mkdir -p $(PREFIX)/etc/env.d 
    6         mkdir -p $(PREFIX)/lib 
    7         mkdir -p $(PREFIX)/sbin 
    8         mkdir -p $(PREFIX)/bin 
     16.for dir in $(DIRECTORIES) 
     17        install $(DIRFLAGS) ${dir} 
     18.endfor 
     19.for file in $(BINFILES) 
     20        install $(EXFLAGS) ${file} $(PREFIX)/bin/ 
     21.endfor 
     22.for file in $(SBINFILES) 
     23        install $(EXFLAGS) ${file} $(PREFIX)/sbin/ 
     24.endfor 
     25for file in $(LIBEXECFILES) 
     26        install $(EXFLAGS) ${file} $(PREFIX)/libexec/ 
     27.endfor 
     28for file in $(LIBFILES) 
     29        install $(INFLAGS) ${file} $(PREFIX)/lib/ 
     30.endfor 
     31.for file in $(ENVFILES) 
     32        install $(INFLAGS) ${file} $(PREFIX)/etc/env.d/ 
     33.endfor 
     34        install -Sp -o root -g wheel -m 0444 confman.conf \ 
     35                $(PREFIX)/etc/confman.conf-default 
    936        install -Sp -o soluzer -g wheel -m 0444 confmanrc \ 
    1037                /var/home/soluzer/.confmanrc 
    11         install -Sp -o root -g wheel -m 0555 confman $(PREFIX)/sbin/confman 
    12         install -Sp -o root -g wheel -m 0555 abspath $(PREFIX)/bin/abspath 
    13         install -Sp -o root -g wheel -m 0444 confman.conf \ 
    14                 $(PREFIX)/etc/confman.conf-default 
    15         install -Sp -o root -g wheel -m 0444 confmanlib.sh \ 
    16                 $(PREFIX)/lib/confmanlib.sh 
    17         install -Sp -o root -g wheel -m 0444 confmandoc.sh \ 
    18                 $(PREFIX)/lib/confmandoc.sh 
    19         install -Sp -o root -g wheel -m 0444 bash_completions \ 
    20                 $(PREFIX)/etc/env.d/confman_completions 
    2138 
    2239fetch: 
Note: See TracChangeset for help on using the changeset viewer.