Ensure that the timestamp for config.h.in is changed after
[rsync/rsync.git] / prepare-source.mak
index 8cb6ce0..b54beee 100644 (file)
@@ -1,12 +1,13 @@
-gen: configure config.h.in proto man
+gen: configure config.h.in proto.h man
 
 configure: configure.in aclocal.m4
        autoconf
 
 config.h.in: configure.in aclocal.m4
        autoheader
+       touch config.h.in
 
-proto:
+proto.h: *.c lib/compat.c
        cat *.c lib/compat.c | awk -f mkproto.awk >proto.h.new
        if diff proto.h proto.h.new >/dev/null; then \
          rm proto.h.new; \