source: trunk/debathena/debathena/dotfiles/Makefile @ 22966

Revision 22966, 2.4 KB checked in by ghudson, 16 years ago (diff)
Add a bash version of the standard Athena xsession, and use it for bash users.
Line 
1# $Id: Makefile,v 1.20 2006-07-25 23:14:55 ghudson Exp $
2
3SHELL=/bin/sh
4PROTOTYPE=/usr/prototype_user
5PROTOTMP=/usr/lib/prototype_tmpuser
6SYSTEM=/usr/lib/init
7ATHMANDIR=/usr/share/man
8ATHRETCDIR=/etc/athena
9ATHLOGINDIR=${ATHRETCDIR}/login
10
11all:
12        cd os/${OS} && ${MAKE} $@
13        cd gnome && ${MAKE} $@
14
15check:
16        cd os/${OS} && ${MAKE} $@
17        cd gnome && ${MAKE} $@
18
19install:
20        mkdir -p ${DESTDIR}${PROTOTYPE}
21        mkdir -p ${DESTDIR}${PROTOTMP}
22        mkdir -p ${DESTDIR}${SYSTEM}
23        mkdir -p ${DESTDIR}${ATHMANDIR}/man1
24        mkdir -p ${DESTDIR}${ATHMANDIR}/man7
25        mkdir -p ${DESTDIR}${ATHLOGINDIR}
26        install -c -m 0755 Xsession ${DESTDIR}${ATHLOGINDIR}
27        install -c -m 0644 cshrc ${DESTDIR}${SYSTEM}
28        install -c -m 0644 dot.cshrc ${DESTDIR}${PROTOTYPE}/.cshrc
29        install -c -m 0644 dot.cshrc ${DESTDIR}${PROTOTMP}/.cshrc
30        install -c -m 0644 dot.login ${DESTDIR}${PROTOTYPE}/.login
31        install -c -m 0644 dot.login ${DESTDIR}${PROTOTMP}/.login
32        install -c -m 0644 dot.logout ${DESTDIR}${PROTOTYPE}/.logout
33        install -c -m 0644 dot.mh_profile ${DESTDIR}${PROTOTYPE}/.mh_profile
34        install -c -m 0644 dot.bash_login ${DESTDIR}${PROTOTYPE}/.bash_login
35        install -c -m 0644 dot.bash_login ${DESTDIR}${PROTOTMP}/.bash_login
36        install -c -m 0644 dot.bashrc ${DESTDIR}${PROTOTYPE}/.bashrc
37        install -c -m 0644 dot.bashrc ${DESTDIR}${PROTOTMP}/.bashrc
38        install -c -m 0644 env_remove ${DESTDIR}${SYSTEM}
39        install -c -m 0644 env_setup ${DESTDIR}${SYSTEM}
40        install -c -m 0755 gnome-stuff-1-to-2 ${DESTDIR}${SYSTEM}
41        install -c -m 0755 gnome-panel-1-to-2 ${DESTDIR}${SYSTEM}
42        install -c -m 0444 lockers.7 ${DESTDIR}${ATHMANDIR}/man7
43        install -c -m 0644 login ${DESTDIR}${SYSTEM}
44        install -c -m 0755 quotawarn.sh ${DESTDIR}${SYSTEM}/quotawarn
45        install -c -m 0644 bashrc ${DESTDIR}${SYSTEM}
46        install -c -m 0644 bash_login ${DESTDIR}${SYSTEM}
47        install -c -m 0444 renew.1 ${DESTDIR}${ATHMANDIR}/man1
48        install -c -m 0555 revert-to-sawfish.sh \
49          ${DESTDIR}${SYSTEM}/revert-to-sawfish
50        install -c -m 0644 temp.README ${DESTDIR}${PROTOTMP}/README
51        install -c -m 0644 temp.mh_profile ${DESTDIR}${PROTOTMP}/.mh_profile
52        install -c -m 0644 welcome ${DESTDIR}${PROTOTYPE}
53        install -c -m 0644 welcome ${DESTDIR}${PROTOTMP}
54        install -c -m 0755 xkill-mozilla.sh ${DESTDIR}${SYSTEM}/xkill-mozilla
55        install -c -m 0755 xsession ${DESTDIR}${SYSTEM}
56        install -c -m 0755 xsession.bash ${DESTDIR}${SYSTEM}
57        cd os/${OS} && ${MAKE} $@
58        cd gnome && ${MAKE} $@
59
60clean:
61        cd os/${OS} && ${MAKE} $@
62        cd gnome && ${MAKE} $@
63
64distclean:
65        cd os/${OS} && ${MAKE} $@
66        cd gnome && ${MAKE} $@
67
Note: See TracBrowser for help on using the repository browser.