head	1.7;
access;
symbols;
locks; strict;
comment	@# @;


1.7
date	95.10.12.19.51.41;	author ghudson;	state Exp;
branches;
next	1.6;

1.6
date	95.10.06.19.56.52;	author jweiss;	state Exp;
branches;
next	1.5;

1.5
date	95.09.01.17.54.49;	author ghudson;	state Exp;
branches;
next	1.4;

1.4
date	95.08.09.08.49.42;	author ghudson;	state Exp;
branches;
next	1.3;

1.3
date	95.08.09.08.47.29;	author ghudson;	state Exp;
branches;
next	1.2;

1.2
date	95.08.09.08.46.12;	author ghudson;	state Exp;
branches;
next	1.1;

1.1
date	95.08.09.08.45.19;	author ghudson;	state Exp;
branches;
next	;


desc
@@


1.7
log
@reactivate and getcluster are no longer here.
@
text
@
ETCDIR	= /etc/athena/

all: rc.conf

rc.conf: rc.conf.sed
	sed -e "s/@@MACHNAME@@/`uname -m`/; s/@@SYSNAME@@/`uname -s`/" \
		< rc.conf.sed > rc.conf

clean:
	rm -f rc.conf

install: rc.conf
	install -c -m 644 version ${DESTDIR}$(ETCDIR)
	install -c -m 644 rc.conf ${DESTDIR}$(ETCDIR)
	install -c -m 755 reactivate ${DESTDIR}$(ETCDIR)
	@@echo ""
	@@echo "YOU MUST EDIT /etc/athena/rc.conf FOR YOUR SITE."

@


1.6
log
@/etc/athena/reactivate needs to be executable.
@
text
@a4 2
	(cd cleanup; $(MAKE) all)
	(cd getcluster; $(MAKE) all)
a10 2
	(cd cleanup; $(MAKE) clean)
	(cd getcluster; $(MAKE) clean)
a13 2
	(cd cleanup; $(MAKE) install)
	(cd getcluster; $(MAKE) install)
@


1.5
log
@Generate rc.conf from rc.conf.sed, substituting in machine name and
system name.
@
text
@d22 1
a22 1
	install -c -m 644 reactivate ${DESTDIR}$(ETCDIR)
@


1.4
log
@Omit slash after ${DESTDIR}.
@
text
@d4 1
a4 1
all:
d8 4
d13 3
a15 2
	(cd cleanup; $(MAKE)clean)
	(cd getcluster; $(MAKE)clean)
d17 1
a17 1
install:
@


1.3
log
@More cleanups.
@
text
@d15 3
a17 3
	install -c -m 644 version ${DESTDIR}/$(ETCDIR)
	install -c -m 644 rc.conf ${DESTDIR}/$(ETCDIR)
	install -c -m 644 reactivate ${DESTDIR}/$(ETCDIR)
@


1.2
log
@Cleanups.
@
text
@d2 1
a2 1
ETCDIR	= ${DESTDIR}/etc/athena/
d15 3
a17 3
	cp -f version $(ETCDIR)
	cp -f rc.conf $(ETCDIR)
	cp -f reactivate $(ETCDIR)
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
ETCDIR	= /etc/athena/
d5 2
a6 2
	(cd cleanup; make all)
	(cd getcluster; make all)
d9 2
a10 2
	(cd cleanup; make clean)
	(cd cleanup; make clean)
d13 2
a14 2
	(cd cleanup; make install)
	(cd getcluster; make install)
d20 1
@
