aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in3
-rw-r--r--mkproto.pl2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 0d4ab1e2..475fb95d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -26,7 +26,7 @@ VERSION=@VERSION@
.SUFFIXES:
.SUFFIXES: .c .o
-GENFILES=configure.sh config.h.in proto.h rsync.1 rsyncd.conf.5
+GENFILES=configure.sh config.h.in proto.h proto.h-tstamp rsync.1 rsyncd.conf.5
HEADERS=byteorder.h config.h errcode.h proto.h rsync.h ifuncs.h lib/pool_alloc.h
LIBOBJ=lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o \
lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o @LIBOBJS@
@@ -118,7 +118,6 @@ proto.h: proto.h-tstamp
proto.h-tstamp: *.c lib/compat.c
perl mkproto.pl *.c lib/compat.c
- touch proto.h-tstamp
man: rsync.1 rsyncd.conf.5
diff --git a/mkproto.pl b/mkproto.pl
index 11b0cd2f..cdeb2ea3 100644
--- a/mkproto.pl
+++ b/mkproto.pl
@@ -44,3 +44,5 @@ if ($old_protos ne $protos) {
print OUT $protos;
close OUT;
}
+
+open(OUT, '>proto.h-tstamp') and close OUT;