source: trunk/packs/config/Makefile @ 18029

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