Ensure that the timestamp for config.h.in is changed after
[rsync/rsync.git] / prepare-source.mak
1 gen: configure config.h.in proto.h man
2
3 configure: configure.in aclocal.m4
4         autoconf
5
6 config.h.in: configure.in aclocal.m4
7         autoheader
8         touch config.h.in
9
10 proto.h: *.c lib/compat.c
11         cat *.c lib/compat.c | awk -f mkproto.awk >proto.h.new
12         if diff proto.h proto.h.new >/dev/null; then \
13           rm proto.h.new; \
14         else \
15           mv proto.h.new proto.h; \
16         fi
17
18 man: rsync.1 rsyncd.conf.5
19
20 rsync.1: rsync.yo
21         yodl2man -o rsync.1 rsync.yo
22
23 rsyncd.conf.5: rsyncd.conf.yo
24         yodl2man -o rsyncd.conf.5 rsyncd.conf.yo