# From kean@argh.ucs.orst.edu (Kean Stump) with the fixpath line
# added by me.
# Change the following two lines if you are not sysadmin.
OWNER=bin
GROUP=bin
LIB=resolver.pl archie.depend newgetopt.pl
BIN=archie
MAN=archie.l
STARTUP=system.archierc
BINDIR=/usr/local/bin
LIBDIR=/usr/local/lib/perl
MANDIR=/usr/local/man/man1
STARTUPDIR=/usr/local/lib

install: 
	perl fixpath $(BINDIR)/perl
	install -o $(OWNER) -g $(GROUP) -m 755 $(BIN) $(BINDIR)
	install -o $(OWNER) -g $(GROUP) -m 444 $(LIB) $(LIBDIR)
	install -o $(OWNER) -g $(GROUP) -m 444 $(MAN) $(MANDIR)/archie.1
	install -o $(OWNER) -g $(GROUP) -m 444 $(STARTUP) $(STARTUPDIR)
