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

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