]> andersk Git - moira.git/blobdiff - update/Makefile.in
DESTDIR support.
[moira.git] / update / Makefile.in
index 87601ba8aa3da0ec5e68e823d204df645561af61..20d205285ccfd5fbb2c54fb0e51a88399cda1bdb 100644 (file)
@@ -22,8 +22,9 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 bindir=@bindir@
 sbindir=@sbindir@
+sysconfdir=@sysconfdir@
 
-SOBJS= auth_002.o checksum.o config.o exec_002.o get_file.o \
+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
 COBJS= update_test.o checksum.o client.o send_file.o ticket.o sendrecv.o
 
@@ -37,11 +38,16 @@ all: $(TARGET)
 clean:
        rm -f $(SOBJS) $(COBJS) $(TARGET)
 
+cleandir distclean: clean
+       rm -f Makefile
+
 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.02954 seconds and 4 git commands to generate.