From: Wayne Davison Date: Sat, 24 Nov 2007 19:50:41 +0000 (-0800) Subject: Improved proto.h-tstamp handling, including cleanup. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/613c2d44317e9e1aacba22a3af9ce31078893339 Improved proto.h-tstamp handling, including cleanup. --- 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;