- minor correction to --update docs
- don't print "building file list" stuff when building a local file
list for use in the --delete code.
- remove some spaces at the end of lines in Makefile.in
INSTALL_MAN=$(prefix)/man
LIBS=@LIBS@
-CC=@CC@
+CC=@CC@
CFLAGS=@CFLAGS@
-
+
INSTALLCMD=@INSTALL@
SRC=@srcdir@
.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
+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 $(LIBOBJ)
.c.o:
${INSTALLCMD} -m 755 rsync ${INSTALL_BIN}
${INSTALLCMD} -m 644 rsync.1 ${INSTALL_MAN}/man1
-rsync: $(OBJS)
+rsync: $(OBJS)
$(CC) $(CFLAGS) -o rsync $(OBJS) $(LIBS)
proto:
clean:
rm -f *~ $(OBJS) rsync config.cache config.log config.status
-dist:
+dist:
tar --exclude-from .ignore -czf dist.tar.gz .
-mkdir rsync-$(VERSION)
(cd rsync-$(VERSION) ; tar xzf ../dist.tar.gz)
char dbuf[MAXPATHLEN];
struct file_list *flist;
- if (verbose && recurse && !am_server) {
+ if (verbose && recurse && !am_server && f != -1) {
fprintf(FINFO,"building file list ... ");
fflush(FINFO);
}
write_flush(f);
}
- if (verbose && recurse && !am_server)
+ if (verbose && recurse && !am_server && f != -1)
fprintf(FINFO,"done\n");
clean_flist(flist);