Tweaked gensend to upload man pages too.
[rsync/rsync.git] / Makefile.in
index d398ef0..c03ece4 100644 (file)
@@ -26,6 +26,7 @@ VERSION=@VERSION@
 .SUFFIXES:
 .SUFFIXES: .c .o
 
+GENFILES=configure.sh config.h.in proto.h rsync.1 rsyncd.conf.5
 HEADERS=byteorder.h config.h errcode.h proto.h rsync.h ifuncs.h lib/pool_alloc.h
 LIBOBJ=lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o \
        lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o @LIBOBJS@
@@ -107,7 +108,7 @@ gen:
        cd $(srcdir) && $(MAKE) -f prepare-source.mak gen
 
 gensend: gen
-       rsync -aivzc configure.sh config.h.in proto.h samba.org:/home/ftp/pub/rsync/generated-files/
+       rsync -aivzc $(GENFILES) samba.org:/home/ftp/pub/rsync/generated-files/
 
 man:
        cd $(srcdir) && $(MAKE) -f prepare-source.mak man
@@ -131,7 +132,7 @@ distclean: clean
        rm -f config.cache config.log
        rm -f $(srcdir)/config.cache $(srcdir)/config.log
        rm -f shconfig $(srcdir)/shconfig
-       rm -f configure.sh config.h.in proto.h rsync.1 rsyncd.conf.5
+       rm -f $(GENFILES)
 
 # this target is really just for my use. It only works on a limited
 # range of machines and is used to produce a list of potentially