Including my extern-squishing script, which just found an
[rsync/rsync.git] / Makefile.in
index 383a509..c03ece4 100644 (file)
@@ -26,14 +26,15 @@ VERSION=@VERSION@
 .SUFFIXES:
 .SUFFIXES: .c .o
 
-HEADERS=byteorder.h config.h errcode.h proto.h rsync.h lib/pool_alloc.h
+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@
 ZLIBOBJ=zlib/deflate.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o \
        zlib/trees.o zlib/zutil.o zlib/adler32.o zlib/compress.o zlib/crc32.o
 OBJS1=flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o \
        util.o main.o checksum.o match.o syscall.o log.o backup.o
-OBJS2=options.o io.o compat.o hlink.o token.o uidlist.o socket.o \
+OBJS2=options.o io.o compat.o hlink.o token.o uidlist.o socket.o hashtable.o \
        fileio.o batch.o clientname.o chmod.o acls.o xattrs.o
 OBJS3=progress.o pipe.o
 DAEMON_OBJ = params.o loadparm.o clientserver.o access.o connection.o authenticate.o
@@ -65,8 +66,8 @@ install: all
        ${INSTALLCMD} ${INSTALL_STRIP} -m 755 rsync$(EXEEXT) ${DESTDIR}${bindir}
        -mkdir -p ${DESTDIR}${mandir}/man1
        -mkdir -p ${DESTDIR}${mandir}/man5
-       ${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1
-       ${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5
+       if test -f $(srcdir)/rsync.1; then ${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1; fi
+       if test -f $(srcdir)/rsyncd.conf.5; then ${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
 
 install-strip:
        $(MAKE) INSTALL_STRIP='-s' install
@@ -106,6 +107,9 @@ t_unsafe$(EXEEXT): $(T_UNSAFE_OBJ)
 gen:
        cd $(srcdir) && $(MAKE) -f prepare-source.mak gen
 
+gensend: gen
+       rsync -aivzc $(GENFILES) samba.org:/home/ftp/pub/rsync/generated-files/
+
 man:
        cd $(srcdir) && $(MAKE) -f prepare-source.mak man
 
@@ -125,11 +129,10 @@ cleantests:
 distclean: clean
        rm -f Makefile config.h config.status
        rm -f $(srcdir)/Makefile $(srcdir)/config.h $(srcdir)/config.status
-
        rm -f config.cache config.log
        rm -f $(srcdir)/config.cache $(srcdir)/config.log
-
        rm -f shconfig $(srcdir)/shconfig
+       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