summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-01-13 17:16:14 +0000
committerAndrew Tridgell <tridge@samba.org>1998-01-13 17:16:14 +0000
commitd0390cd3841db9dd175ae6c9a6472d0ca72801a8 (patch)
tree55592e73104df04b08ab3d30f0b2a4e3445e0b3e
parentf6c347425ac550dd1b7d1ff739bedd1489099d91 (diff)
downloadrsync-d0390cd3841db9dd175ae6c9a6472d0ca72801a8.tar.gz
rsync-d0390cd3841db9dd175ae6c9a6472d0ca72801a8.tar.bz2
rsync-d0390cd3841db9dd175ae6c9a6472d0ca72801a8.zip
*** empty log message ***
-rw-r--r--Makefile.in7
1 files changed, 4 insertions, 3 deletions
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)