X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/564dc9941eef5f1835d69aa0de888906ee5d60ca..d26c7dfdb0a28a8ffc1bf5bffeb5555883c2f1e2:/prepare-source.mak diff --git a/prepare-source.mak b/prepare-source.mak index 9acd3e4c..e7ff9958 100644 --- a/prepare-source.mak +++ b/prepare-source.mak @@ -1,6 +1,6 @@ -gen: gen_no_man man +gen: conf proto.h man -gen_no_man: configure.sh config.h.in proto.h +conf: configure.sh config.h.in configure.sh: configure.in aclocal.m4 autoconf -o configure.sh @@ -9,12 +9,7 @@ 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 2>&1; then \ - rm proto.h.new; \ - else \ - mv proto.h.new proto.h; \ - fi + perl mkproto.pl *.c lib/compat.c man: rsync.1 rsyncd.conf.5