source: trunk/packs/config/Makefile @ 11038

Revision 11038, 2.3 KB checked in by ghudson, 26 years ago (diff)
Add an sshd configuration file.
Line 
1# $Id: Makefile,v 1.15 1998-01-14 17:27:05 ghudson Exp $
2
3SHELL=/bin/sh
4ETCDIR=/etc
5ATHRETCDIR=/etc/athena
6ATHLIBDIR=/usr/athena/lib
7ATHMANDIR=/usr/athena/man
8CONFIG=/afs/athena.mit.edu/system/config
9
10all:
11        cd platform/${HOSTTYPE} && ${MAKE} $@
12        cd arch/${ATHENA_SYS} && ${MAKE} $@
13
14check:
15        cd platform/${HOSTTYPE} && ${MAKE} $@
16        cd arch/${ATHENA_SYS} && ${MAKE} $@
17
18install:
19        -mkdir -p ${DESTDIR}${ETCDIR}
20        -mkdir -p ${DESTDIR}${ATHRETCDIR}
21        -mkdir -p ${DESTDIR}${ATHLIBDIR}
22        -mkdir -p ${DESTDIR}${ATHMANDIR}
23        install -c -m 0644 Dash.fallback ${DESTDIR}${ATHLIBDIR}
24        install -c -m 0644 ftpusers ${DESTDIR}${ETCDIR}
25        install -c -m 0644 krb.conf ${DESTDIR}${ATHRETCDIR}
26        install -c -m 0644 krb.realms ${DESTDIR}${ATHRETCDIR}
27        install -c -m 0644 krb5.conf ${DESTDIR}${ETCDIR}
28        install -c -m 0444 mandesc ${DESTDIR}${ATHMANDIR}
29        install -c -m 0444 masks ${DESTDIR}${ATHRETCDIR}
30        install -c -m 0644 named.boot ${DESTDIR}${ETCDIR}
31        install -c -m 0644 named.localhost ${DESTDIR}${ETCDIR}
32        install -c -m 0644 named.localhost.rev ${DESTDIR}${ETCDIR}
33        install -c -m 0644 named.root ${DESTDIR}${ETCDIR}
34        install -c -m 0644 ntp.conf ${DESTDIR}${ETCDIR}
35        install -c -m 0644 resolv.conf ${DESTDIR}${ETCDIR}
36        install -c -m 0644 shells ${DESTDIR}${ETCDIR}
37        install -c -m 0644 sshd_config ${DESTDIR}${ETCDIR}
38        install -c -m 0644 zephyr.vars ${DESTDIR}${ATHRETCDIR}
39        rm -f ${DESTDIR}${ETCDIR}/krb.conf
40        ln -s athena/krb.conf ${DESTDIR}${ETCDIR}/krb.conf
41        rm -f ${DESTDIR}${ETCDIR}/krb.realms
42        ln -s athena/krb.realms ${DESTDIR}${ETCDIR}/krb.realms
43        rm -f ${DESTDIR}${ETCDIR}/passwd
44        ln -s ${CONFIG}/passwd/${ATHENA_SYS}/passwd ${DESTDIR}${ETCDIR}/passwd
45        rm -f ${DESTDIR}${ATHRETCDIR}/gdss_public_key
46        ln -s /afs/net.mit.edu/system/config/gdss_public_key \
47                ${DESTDIR}${ATHRETCDIR}/gdss_public_key
48        rm -f ${DESTDIR}${ATHLIBDIR}/quickstations
49        ln -s ${CONFIG}/quick/quickstations \
50                ${DESTDIR}${ATHLIBDIR}/quickstations
51        rm -f ${DESTDIR}${ATHLIBDIR}/Dash.menus
52        . ../build/version; \
53                vers=$$major.$$minor; \
54                ln -s ${CONFIG}/dash/Dash.menus-$$vers \
55                        ${DESTDIR}${ATHLIBDIR}/Dash.menus; \
56        cd platform/${HOSTTYPE} && ${MAKE} $@
57        cd arch/${ATHENA_SYS} && ${MAKE} $@
58
59clean:
60        cd platform/${HOSTTYPE} && ${MAKE} $@
61        cd arch/${ATHENA_SYS} && ${MAKE} $@
62
63distclean:
64        cd platform/${HOSTTYPE} && ${MAKE} $@
65        cd arch/${ATHENA_SYS} && ${MAKE} $@
Note: See TracBrowser for help on using the repository browser.