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

Revision 22975, 2.6 KB checked in by ghudson, 17 years ago (diff)
In dotfiles: * Add new .generation dotfile to distinguish old and new accounts. * Make double-sided printing the default for new 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 dot.generation ${DESTDIR}${PROTOTYPE}/.generation
39        install -c -m 0644 dot.generation ${DESTDIR}${PROTOTMP}/.generation
40        install -c -m 0644 env_remove ${DESTDIR}${SYSTEM}
41        install -c -m 0644 env_setup ${DESTDIR}${SYSTEM}
42        install -c -m 0755 gnome-stuff-1-to-2 ${DESTDIR}${SYSTEM}
43        install -c -m 0755 gnome-panel-1-to-2 ${DESTDIR}${SYSTEM}
44        install -c -m 0444 lockers.7 ${DESTDIR}${ATHMANDIR}/man7
45        install -c -m 0644 login ${DESTDIR}${SYSTEM}
46        install -c -m 0755 quotawarn.sh ${DESTDIR}${SYSTEM}/quotawarn
47        install -c -m 0644 bashrc ${DESTDIR}${SYSTEM}
48        install -c -m 0644 bash_login ${DESTDIR}${SYSTEM}
49        install -c -m 0444 renew.1 ${DESTDIR}${ATHMANDIR}/man1
50        install -c -m 0555 revert-to-sawfish.sh \
51          ${DESTDIR}${SYSTEM}/revert-to-sawfish
52        install -c -m 0644 temp.README ${DESTDIR}${PROTOTMP}/README
53        install -c -m 0644 temp.mh_profile ${DESTDIR}${PROTOTMP}/.mh_profile
54        install -c -m 0644 welcome ${DESTDIR}${PROTOTYPE}
55        install -c -m 0644 welcome ${DESTDIR}${PROTOTMP}
56        install -c -m 0755 xkill-mozilla.sh ${DESTDIR}${SYSTEM}/xkill-mozilla
57        install -c -m 0755 xsession ${DESTDIR}${SYSTEM}
58        install -c -m 0755 xsession.bash ${DESTDIR}${SYSTEM}
59        cd os/${OS} && ${MAKE} $@
60        cd gnome && ${MAKE} $@
61
62clean:
63        cd os/${OS} && ${MAKE} $@
64        cd gnome && ${MAKE} $@
65
66distclean:
67        cd os/${OS} && ${MAKE} $@
68        cd gnome && ${MAKE} $@
69
Note: See TracBrowser for help on using the repository browser.