flist.o: rounding.h
-help-rsync.h: rsync.1.md
- @sed -e '1,/^# OPTIONS SUMMARY/d' \
- -e '1,/^```/d' \
- -e '/^```/,$$d' \
- -e 's/"/\\"/g' \
- -e 's/^/ rprintf(F,"/' \
- -e 's/$$/\\n");/' \
- <"$(srcdir)/$<" >$@
-
-help-rsyncd.h: rsync.1.md
- @sed -e '1,/^# OPTIONS SUMMARY/d' \
- -e '1,/^```/d' \
- -e '1,/^```/d' \
+help-rsync.h help-rsyncd.h: rsync.1.md
+ @sed -e '1,/^\[comment\].*$@/d' \
-e '1,/^```/d' \
-e '/^```/,$$d' \
-e 's/"/\\"/g' \
-e 's/^/ rprintf(F,"/' \
-e 's/$$/\\n");/' \
<"$(srcdir)/$<" >$@
+ @if ! test -s $@; then rm -f $@ ; echo "The Makefile generated an empty file: $@" ; exit 1 ; fi
rounding.h: rounding.c rsync.h proto.h
@for r in 0 1 3; do \
This is launched from cron every few hours.
-# OPTIONS SUMMARY
+# OPTION SUMMARY
Here is a short summary of the options available in rsync. Please refer to the
detailed description below for a complete description.
+[comment]: # (help-rsync.h)
[comment]: # (Keep these short enough that they'll be under 80 chars when indented by 8 chars.)
```
Rsync can also be run as a daemon, in which case the following options are
accepted:
+[comment]: # (help-rsyncd.h)
+
```
--daemon run as an rsync daemon
--address=ADDRESS bind to the specified address