Hi.
The small patch below fixes the building of 'mkrounding.o' when
the build directory is outside the source directory.
Art Haas
Index: Makefile.in
==================================================================RCS file:
/cvsroot/rsync/Makefile.in,v
retrieving revision 1.128
diff -u -r1.128 Makefile.in
--- Makefile.in 17 Dec 2006 00:40:18 -0000 1.128
+++ Makefile.in 27 Dec 2006 18:10:30 -0000
@@ -80,8 +80,8 @@
./mkrounding$(EXEEXT) >rounding.h
mkrounding$(EXEEXT): mkrounding.c rsync.h
- @sed '1,/^struct file_struct/d; /^}/,$$d' <rsync.h >mkrounding.h
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ mkrounding.c
+ @sed '1,/^struct file_struct/d; /^}/,$$d' <$(srcdir)/rsync.h
>mkrounding.h
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -I. $(srcdir)/mkrounding.c
@rm mkrounding.h
tls$(EXEEXT): $(TLS_OBJ)
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822