This is an attempt to remove generated files from the rsync repository
[rsync/rsync.git] / prepare-source.mak
... / ...
CommitLineData
1gen: gen_no_man man
2
3gen_no_man: configure.sh config.h.in proto.h
4
5configure.sh: configure.in aclocal.m4
6 autoconf -o configure.sh
7
8config.h.in: configure.in aclocal.m4
9 autoheader && touch config.h.in
10
11proto.h: *.c lib/compat.c
12 cat *.c lib/compat.c | awk -f mkproto.awk >proto.h.new
13 if diff proto.h proto.h.new >/dev/null 2>&1; then \
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
23 -./tweak_manpage rsync.1
24
25rsyncd.conf.5: rsyncd.conf.yo
26 yodl2man -o rsyncd.conf.5 rsyncd.conf.yo
27 -./tweak_manpage rsyncd.conf.5