use a separate "make man" target so people don't need yodl
authorAndrew Tridgell <tridge@samba.org>
Fri, 15 May 1998 07:53:41 +0000 (07:53 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 15 May 1998 07:53:41 +0000 (07:53 +0000)
Makefile.in
rsync.yo

index bb6702c..81cc812 100644 (file)
@@ -30,7 +30,9 @@ OBJS=$(OBJS1) $(OBJS2) $(DAEMON_OBJ) $(LIBOBJ)
 .c.o:
        $(CC) -I. -I$(srcdir) $(CFLAGS) -c $< -o $@
 
-all: rsync rsync.1 rsyncd.conf.5
+all: rsync
+
+man: rsync.1 rsyncd.conf.5
 
 install: all
        -mkdir -p ${INSTALL_BIN}
@@ -44,12 +46,10 @@ rsync: $(OBJS)
        $(CC) $(CFLAGS) -o rsync $(OBJS) $(LIBS)
 
 rsync.1: rsync.yo
-       yodl2man rsync.yo
-       mv rsync.man rsync.1
+       yodl2man -o rsync.1 rsync.yo
 
 rsyncd.conf.5: rsyncd.conf.yo
-       yodl2man rsyncd.conf.yo
-       mv rsyncd.conf.man rsyncd.conf.5
+       yodl2man -o rsyncd.conf.5 rsyncd.conf.yo
 
 proto:
        cat *.c | awk -f mkproto.awk > proto.h
index 34d9500..0b58a5a 100644 (file)
--- a/rsync.yo
+++ b/rsync.yo
@@ -450,7 +450,7 @@ times are transferred as unix time_t values
 file permissions, devices etc are transferred as native numerical
 values
 
-see also the comments on the -delete option
+see also the comments on the --delete option
 
 Please report bugs! The rsync bug tracking system is online at
 url(http://samba.anu.edu.au/rsync/)(http://samba.anu.edu.au/rsync/)