source: trunk/packs/config/Makefile @ 20401

Revision 20401, 2.7 KB checked in by zacheiss, 20 years ago (diff)
Samba config file.
Line 
1# $Id: Makefile,v 1.33 2004-04-13 19:08:09 zacheiss Exp $
2
3SHELL=/bin/sh
4ETCDIR=/etc
5ETCMAILDIR=/etc/mail
6ATHETCDIR=/usr/athena/etc
7ATHRETCDIR=/etc/athena
8ATHLIBDIR=/usr/athena/lib
9ATHSHAREDIR=/usr/athena/share
10ATHMANDIR=/usr/athena/man
11CONFIG=/afs/athena.mit.edu/system/config
12
13all:
14        cd os/${OS} && ${MAKE} $@
15
16check:
17        cd os/${OS} && ${MAKE} $@
18
19install:
20        mkdir -p ${DESTDIR}${ETCDIR}
21        mkdir -p ${DESTDIR}${ETCMAILDIR}
22        mkdir -p ${DESTDIR}${ATHETCDIR}
23        mkdir -p ${DESTDIR}${ATHRETCDIR}
24        mkdir -p ${DESTDIR}${ATHLIBDIR}
25        mkdir -p ${DESTDIR}${ATHSHAREDIR}
26        mkdir -p ${DESTDIR}${ATHMANDIR}
27        install -c -m 0644 Dash.fallback ${DESTDIR}${ATHLIBDIR}
28        install -c -m 0644 athinfo.access ${DESTDIR}${ATHRETCDIR}
29        install -c -m 0644 authinfo ${DESTDIR}${ETCMAILDIR}
30        install -c -m 0644 ftpusers ${DESTDIR}${ETCDIR}
31        install -c -m 0644 ifhp.conf ${DESTDIR}${ETCDIR}
32        install -c -m 0644 krb.conf ${DESTDIR}${ATHRETCDIR}
33        install -c -m 0644 krb.realms ${DESTDIR}${ATHRETCDIR}
34        install -c -m 0644 krb5.conf ${DESTDIR}${ETCDIR}
35        install -c -m 0644 local-lockers.conf ${DESTDIR}${ATHRETCDIR}
36        install -c -m 0644 lpd.conf ${DESTDIR}${ETCDIR}
37        install -c -m 0644 lpd.perms ${DESTDIR}${ETCDIR}
38        install -c -m 0644 mailcap ${DESTDIR}${ATHETCDIR}
39        install -c -m 0444 mandesc ${DESTDIR}${ATHMANDIR}
40        install -c -m 0444 masks ${DESTDIR}${ATHRETCDIR}
41        install -c -m 0644 mime.types ${DESTDIR}${ATHETCDIR}
42        install -c -m 0644 named.conf ${DESTDIR}${ETCDIR}
43        install -c -m 0644 named.localhost ${DESTDIR}${ETCDIR}
44        install -c -m 0644 named.localhost.rev ${DESTDIR}${ETCDIR}
45        install -c -m 0644 named.root ${DESTDIR}${ETCDIR}
46        install -c -m 0644 ntp.conf ${DESTDIR}${ETCDIR}
47        install -c -m 0644 resolv.conf ${DESTDIR}${ETCDIR}
48        install -c -m 0644 shells ${DESTDIR}${ETCDIR}
49        install -c -m 0644 smb.conf ${DESTDIR}${ETCDIR}
50        install -c -m 0644 ssh_config ${DESTDIR}${ETCDIR}
51        install -c -m 0644 sshd_config ${DESTDIR}${ETCDIR}
52        install -c -m 0644 zephyr.vars ${DESTDIR}${ATHRETCDIR}
53        rm -f ${DESTDIR}${ETCDIR}/krb.conf
54        ln -s athena/krb.conf ${DESTDIR}${ETCDIR}/krb.conf
55        rm -f ${DESTDIR}${ETCDIR}/krb.realms
56        ln -s athena/krb.realms ${DESTDIR}${ETCDIR}/krb.realms
57        rm -f ${DESTDIR}${ETCDIR}/passwd
58        ln -s ${CONFIG}/passwd/${ATHENA_SYS}/passwd ${DESTDIR}${ETCDIR}/passwd
59        rm -f ${DESTDIR}${ATHRETCDIR}/gdss_public_key
60        ln -s /afs/net.mit.edu/system/config/gdss_public_key \
61                ${DESTDIR}${ATHRETCDIR}/gdss_public_key
62        rm -f ${DESTDIR}${ATHSHAREDIR}/quickstations
63        ln -s ${CONFIG}/quick/quickstations \
64                ${DESTDIR}${ATHSHAREDIR}/quickstations
65        rm -f ${DESTDIR}${ATHLIBDIR}/Dash.menus
66        vers=$$ATHENA_MAJOR_VERSION.$$ATHENA_MINOR_VERSION; \
67                ln -s ${CONFIG}/dash/Dash.menus-$$vers \
68                 ${DESTDIR}${ATHLIBDIR}/Dash.menus;
69        cd os/${OS} && ${MAKE} $@
70
71clean:
72        cd os/${OS} && ${MAKE} $@
73
74distclean:
75        cd os/${OS} && ${MAKE} $@
Note: See TracBrowser for help on using the repository browser.