2b56d112f1b132d7f52f4efada5e3026180f38b4
lrnassar
  Mon May 26 07:55:52 2025 -0700
Small tweaks for the initial release of the first 2 doc pages, and more importantly, fixing the makefile so that it rsyncs to hgwbeta while preserving time which is required for the RR push script, refs #30335

diff --git docs/makefile docs/makefile
index e4d0924a3b2..eae56d2d8bd 100644
--- docs/makefile
+++ docs/makefile
@@ -1,28 +1,30 @@
 kentSrc = ..
 include ../src/inc/common.mk
 
+rsyncOpts = --whole-file --times --recursive --omit-dir-times --cvs-exclude --exclude='makefile' --exclude='cpAndLinkToResourceFiles.pl' --exclude='style/*'
+
 user:
 	${MAKE} doInstall destDir=${DOCUMENTROOT}-${USER}
 
 alpha:
 	${MAKE} doInstall destDir=${DOCUMENTROOT}
 
 beta:
 	${MAKE} doInstall destDir=${DOCUMENTROOT}-beta
+	rsync ${rsyncOpts} ${DOCUMENTROOT}-beta/docs/ qateam@hgwbeta:${DOCUMENTROOT}/docs/
 
 DOCS = index gb101 gatewayTutorial page_template
 
-
 doInstall: ${DOCS:%=%_install}
 
 %_install: 
 	${MKDIR} ${destDir}/docs/
 	rm -f  ${destDir}/docs/$*.tmp.html
 	pandoc --ascii -f markdown-smart -t html5 -o ${destDir}/docs/$*.tmp.html $*.md --template staticPage.html -t staticPage.lua --lua-filter GBpandocHTMLrules.lua
 	mv -f  ${destDir}/docs/$*.tmp.html ${destDir}/docs/$*.html
 	chmod a+x ${destDir}/docs/$*.html
 
 testPandoc:
 	@printf "Test the following path and commands look ok\n"
 	@printf "pandoc path: %s\n" "`which pandoc`"
 	@printf "pandoc --ascii -f markdown-smart -t html5 index.md --template staticPage.html -t staticPage.lua\n" "${DOCUMENTROOT}/"