source: tags/confman-1.5/Makefile @ 139

Revision 139, 1.1 KB checked in by ccowart, 5 years ago (diff)

Fixing the libexec files in the Makefile.

  • Property svn:keywords set to Id
Line 
1PREFIX ?= /usr/local
2PREFIX := $(PREFIX)/rescomp
3
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 confmancommon.sh
12ENVFILES                =       confman_completions
13DIRECTORIES             =       /etc /etc/env.d /lib /sbin /bin /libexec /libexec/confman
14
15install :
16.for dir in $(DIRECTORIES)
17        install $(DIRFLAGS) $(PREFIX)${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
25.for file in $(LIBEXECFILES)
26        install $(EXFLAGS) ${file} $(PREFIX)/libexec/confman
27.endfor
28.for 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
36        install -Sp -o soluzer -g wheel -m 0444 confmanrc \
37                /var/home/soluzer/.confmanrc
38
39fetch:
40        svn update
41
Note: See TracBrowser for help on using the repository browser.