From: Wayne Davison Date: Mon, 6 Feb 2006 04:07:49 +0000 (+0000) Subject: Moved the rules for generating files such as configure, config.h.in, X-Git-Tag: v2.6.7pre1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a3f3ba45dc982ed0e8e209502f7198d8f870dfe;p=thirdparty%2Frsync.git Moved the rules for generating files such as configure, config.h.in, proto.h, and the manpages into this separate makefile, allowing it to be used without first running configure (which builds the Makefile). --- diff --git a/prepare-source.mak b/prepare-source.mak new file mode 100644 index 00000000..8cb6ce08 --- /dev/null +++ b/prepare-source.mak @@ -0,0 +1,23 @@ +gen: configure config.h.in proto man + +configure: configure.in aclocal.m4 + autoconf + +config.h.in: configure.in aclocal.m4 + autoheader + +proto: + 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 + +man: rsync.1 rsyncd.conf.5 + +rsync.1: rsync.yo + yodl2man -o rsync.1 rsync.yo + +rsyncd.conf.5: rsyncd.conf.yo + yodl2man -o rsyncd.conf.5 rsyncd.conf.yo