This is an attempt to remove generated files from the rsync repository
[rsync/rsync.git] / prepare-source.mak
CommitLineData
564dc994 1gen: gen_no_man man
2a3f3ba4 2
564dc994
WD
3gen_no_man: configure.sh config.h.in proto.h
4
5configure.sh: configure.in aclocal.m4
6 autoconf -o configure.sh
2a3f3ba4
WD
7
8config.h.in: configure.in aclocal.m4
350879d8 9 autoheader && touch config.h.in
2a3f3ba4 10
ef4e0d5e 11proto.h: *.c lib/compat.c
2a3f3ba4 12 cat *.c lib/compat.c | awk -f mkproto.awk >proto.h.new
564dc994 13 if diff proto.h proto.h.new >/dev/null 2>&1; then \
2a3f3ba4
WD
14 rm proto.h.new; \
15 else \
16 mv proto.h.new proto.h; \
17 fi
18
19man: rsync.1 rsyncd.conf.5
20
21rsync.1: rsync.yo
22 yodl2man -o rsync.1 rsync.yo
662fd70b 23 -./tweak_manpage rsync.1
2a3f3ba4
WD
24
25rsyncd.conf.5: rsyncd.conf.yo
26 yodl2man -o rsyncd.conf.5 rsyncd.conf.yo
662fd70b 27 -./tweak_manpage rsyncd.conf.5