From: Andrew Tridgell Date: Tue, 13 Jan 1998 17:16:14 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/d0390cd3841db9dd175ae6c9a6472d0ca72801a8 *** empty log message *** --- diff --git a/Makefile.in b/Makefile.in index 585fee43..aecfd835 100644 --- a/Makefile.in +++ b/Makefile.in @@ -12,7 +12,8 @@ CFLAGS=@CFLAGS@ INSTALLCMD=@INSTALL@ -SRC=@srcdir@ +VPATH=@srcdir@ +srcdir=@srcdir@ SHELL=/bin/sh @@ -24,13 +25,13 @@ OBJS1=rsync.o exclude.o util.o md4.o main.o checksum.o match.o OBJS=$(OBJS1) flist.o io.o compat.o hlink.o token.o uidlist.o $(LIBOBJ) .c.o: - $(CC) $(CFLAGS) -c $*.c -o $*.o + $(CC) -I$(srcdir) $(CFLAGS) -c $*.c -o $*.o all: rsync install: all ${INSTALLCMD} -m 755 rsync ${INSTALL_BIN} - ${INSTALLCMD} -m 644 rsync.1 ${INSTALL_MAN}/man1 + ${INSTALLCMD} -m 644 $(srcdir)/rsync.1 ${INSTALL_MAN}/man1 rsync: $(OBJS) $(CC) $(CFLAGS) -o rsync $(OBJS) $(LIBS)