X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/ee7cf95b13593df25e09fbe0a10a8727d9b33c1b..d26c7dfdb0a28a8ffc1bf5bffeb5555883c2f1e2:/prepare-source.mak diff --git a/prepare-source.mak b/prepare-source.mak index c512140e..e7ff9958 100644 --- a/prepare-source.mak +++ b/prepare-source.mak @@ -1,25 +1,22 @@ -gen: configure config.h.in proto.h man +gen: conf proto.h man -configure: configure.in aclocal.m4 - autoconf +conf: configure.sh config.h.in + +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 \ - 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 rsync.1: rsync.yo yodl2man -o rsync.1 rsync.yo - -./tweak_manpage_dashes rsync.1 + -./tweak_manpage rsync.1 rsyncd.conf.5: rsyncd.conf.yo yodl2man -o rsyncd.conf.5 rsyncd.conf.yo - -./tweak_manpage_dashes rsyncd.conf.5 + -./tweak_manpage rsyncd.conf.5