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

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