-gen: configure config.h.in proto.h man
+conf: configure.sh config.h.in
-configure: configure.in aclocal.m4
- autoconf
+configure.sh: configure.ac aclocal.m4
+ autoconf -o configure.sh
-config.h.in: configure.in aclocal.m4
- autoheader
-
-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
-
-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
+config.h.in: configure.ac aclocal.m4
+ autoheader && touch config.h.in