Add gist update logic to gensend target.

This commit is contained in:
Wayne Davison committed 2021-09-26 14:57:22 -07:00
1 parent 33095916ec
commit 12c058698b
2 files changed
+5

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ aclocal.m4
/conftest*
/dox
/getgroups
/gists
/gmon.out
/rsync
/stunnel-rsyncd.conf
+4
View File
@@ -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