From: Wayne Davison Date: Sun, 26 Sep 2021 19:32:47 +0000 (-0700) Subject: Add gist update logic to gensend target. X-Git-Tag: v3.2.4pre1~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12c058698b4ec2b7f0d669c183e81c8bc841eed9;p=thirdparty%2Frsync.git Add gist update logic to gensend target. --- diff --git a/.gitignore b/.gitignore index 47d75e91..13c6db8d 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ aclocal.m4 /conftest* /dox /getgroups +/gists /gmon.out /rsync /stunnel-rsyncd.conf diff --git a/Makefile.in b/Makefile.in index 0313e6ff..eeda5fc7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -171,6 +171,10 @@ gen: conf proto.h man git-version.h .PHONY: gensend gensend: gen + if ! diff git-version.h $(srcdir)/gists/rsync-git-version.h >/dev/null; then \ + ./rsync -ai git-version.h $(srcdir)/gists/rsync-git-version.h && \ + (cd $(srcdir)/gists && git commit --allow-empty-message -m '' rsync-git-version.h && git push) ; \ + fi rsync -aic $(GENFILES) git-version.h $${SAMBA_HOST-samba.org}:/home/ftp/pub/rsync/generated-files/ aclocal.m4: $(srcdir)/m4/*.m4