Fixed a build problem for those building in a different dir from
[rsync/rsync.git] / Makefile.in
index fcc79d0..c090846 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