Fixed a build problem for those building in a different dir from
[rsync.git] / Makefile.in
index fcc79d09cc31b432e3d2b8a87d4eadab6edc56da..c09084623ce391e7ca20789b9130874f02e163a0 100644 (file)
@@ -127,8 +127,8 @@ proto: proto.h-tstamp
 proto.h: proto.h-tstamp
        @echo ' ' >/dev/null
 
-proto.h-tstamp: *.c lib/compat.c
-       perl mkproto.pl *.c lib/compat.c
+proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c
+       perl mkproto.pl $(srcdir)/*.c $(srcdir)/lib/compat.c
 
 man: rsync.1 rsyncd.conf.5