exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
+sysconfdir=@sysconfdir@
SOBJS= auth_002.o auth_003.o checksum.o config.o exec_002.o get_file.o \
update_server.o xfer_002.o xfer_003.o sendrecv.o
depend:
install: all
- $(INSTALL_PROGRAM) update_test $(bindir)
- $(INSTALL_PROGRAM) update_server $(sbindir)
+ $(INSTALL_PROGRAM) update_test $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) update_server $(DESTDIR)$(sbindir)
+ $(SRCTOP)/mkinstalldirs $(DESTDIR)$(sysconfdir)/athena
+ $(INSTALL) -m 644 moira.conf $(DESTDIR)$(sysconfdir)/athena/moira.conf
update_test: $(COBJS) $(MR_LIBDEP)
$(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS)