From: Wayne Davison Date: Fri, 9 Nov 2007 16:22:20 +0000 (+0000) Subject: This is an attempt to remove generated files from the rsync repository X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/564dc9941eef5f1835d69aa0de888906ee5d60ca This is an attempt to remove generated files from the rsync repository while still supporting the samba build farm. Let's see if it works. --- diff --git a/prepare-source.mak b/prepare-source.mak index 3728be88..9acd3e4c 100644 --- a/prepare-source.mak +++ b/prepare-source.mak @@ -1,14 +1,16 @@ -gen: configure config.h.in proto.h man +gen: gen_no_man man -configure: configure.in aclocal.m4 - autoconf +gen_no_man: configure.sh config.h.in proto.h + +configure.sh: configure.in aclocal.m4 + autoconf -o configure.sh config.h.in: configure.in aclocal.m4 autoheader && touch config.h.in 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 \ + if diff proto.h proto.h.new >/dev/null 2>&1; then \ rm proto.h.new; \ else \ mv proto.h.new proto.h; \