]> andersk Git - moira.git/blobdiff - update/Makefile.in
DESTDIR support.
[moira.git] / update / Makefile.in
index 0181ead075225e0b20ca7b9b65b48b975b6afc99..20d205285ccfd5fbb2c54fb0e51a88399cda1bdb 100644 (file)
@@ -22,6 +22,7 @@ prefix=@prefix@
 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
@@ -43,8 +44,10 @@ cleandir distclean: clean
 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)
This page took 0.250036 seconds and 4 git commands to generate.