source: trunk/packs/dotfiles/Makefile @ 21187

Revision 21187, 2.4 KB checked in by ghudson, 20 years ago (diff)
Change the default window manager from Sawfish to Metacity, and provide a script (to be called by a menu item under Settings) to let users revert to Sawfish if they want.
Line 
1# $Id: Makefile,v 1.19 2004-12-17 00:18:21 ghudson Exp $
2
3SHELL=/bin/sh
4PROTOTYPE=/usr/prototype_user
5PROTOTMP=/usr/athena/lib/prototype_tmpuser
6SYSTEM=/usr/athena/lib/init
7ATHMANDIR=/usr/athena/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 mksessiondir.sh ${DESTDIR}${SYSTEM}/mksessiondir
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        cd os/${OS} && ${MAKE} $@
57        cd gnome && ${MAKE} $@
58
59clean:
60        cd os/${OS} && ${MAKE} $@
61        cd gnome && ${MAKE} $@
62
63distclean:
64        cd os/${OS} && ${MAKE} $@
65        cd gnome && ${MAKE} $@
66
Note: See TracBrowser for help on using the repository browser.