Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes to make VPATH work correctly, thanks to patl@cag.lcs.mit.edu
[rsync/rsync.git]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index
aecfd83
..
d018487
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-20,17
+20,20
@@
SHELL=/bin/sh
.SUFFIXES:
.SUFFIXES: .c .o
.SUFFIXES:
.SUFFIXES: .c .o
-LIBOBJ=lib/getopt.o lib/fnmatch.o lib/zlib.o
-OBJS1=rsync.o exclude.o util.o md4.o main.o checksum.o match.o
+LIBOBJ=lib/getopt.o lib/fnmatch.o lib/zlib.o
lib/compat.o
+OBJS1=rsync.o exclude.o util.o md4.o main.o checksum.o match.o
syscall.o
OBJS=$(OBJS1) flist.o io.o compat.o hlink.o token.o uidlist.o $(LIBOBJ)
OBJS=$(OBJS1) flist.o io.o compat.o hlink.o token.o uidlist.o $(LIBOBJ)
+# note that the -I. is needed to handle config.h when using VPATH
.c.o:
.c.o:
- $(CC) -I
$(srcdir) $(CFLAGS) -c $*.c -o $*.o
+ $(CC) -I
. -I$(srcdir) $(CFLAGS) -c $< -o $@
all: rsync
install: all
all: rsync
install: all
+ -mkdir -p ${INSTALL_BIN}
${INSTALLCMD} -m 755 rsync ${INSTALL_BIN}
${INSTALLCMD} -m 755 rsync ${INSTALL_BIN}
+ -mkdir -p ${INSTALL_MAN}/man1
${INSTALLCMD} -m 644 $(srcdir)/rsync.1 ${INSTALL_MAN}/man1
rsync: $(OBJS)
${INSTALLCMD} -m 644 $(srcdir)/rsync.1 ${INSTALL_MAN}/man1
rsync: $(OBJS)