Mercurial > p > roundup > code
comparison website/www/Makefile @ 7494:022b7112c171
Add target to push production www docs.
Sourceforge is stuck at python2 and old version of sphinx.
Add makefile target to allow making docs with newer sphinx and sync it
into place.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 15 Jun 2023 20:55:03 -0400 |
| parents | abc2ec25b3d1 |
| children | 2ab234484708 |
comparison
equal
deleted
inserted
replaced
| 7493:06a2f79389b6 | 7494:022b7112c171 |
|---|---|
| 5 | 5 |
| 6 help: | 6 help: |
| 7 @echo "Please use \`make <target>' where <target> is one of" | 7 @echo "Please use \`make <target>' where <target> is one of" |
| 8 @echo " html to make standalone HTML files" | 8 @echo " html to make standalone HTML files" |
| 9 @echo " linkcheck to check all external links for integrity" | 9 @echo " linkcheck to check all external links for integrity" |
| 10 | 10 @echo " sourceforge_prod_sync sync html directory to sourceforce" |
| 11 @echo " production website" | |
| 12 @echo " sourceforge_dev_sync sync html directory to sourceforce" | |
| 13 @echo " /dev_docs subdirectory" | |
| 14 @echo " clean remove all produced files" | |
| 11 clean: | 15 clean: |
| 12 -rm -rf $(TMP) $(HTML) docs COPYING.txt | 16 -rm -rf $(TMP) $(HTML) docs COPYING.txt |
| 13 | 17 |
| 14 docs: | 18 docs: |
| 15 ln -s ../../doc ./docs | 19 ln -s ../../doc ./docs |
| 38 @echo "Link check complete; look for any errors in the above output " \ | 42 @echo "Link check complete; look for any errors in the above output " \ |
| 39 "or in .build/linkcheck/output.txt." | 43 "or in .build/linkcheck/output.txt." |
| 40 | 44 |
| 41 sourceforge_dev_sync: | 45 sourceforge_dev_sync: |
| 42 rsync -av html/. web.sourceforge.net:/home/project-web/roundup/htdocs/dev_docs/. | 46 rsync -av html/. web.sourceforge.net:/home/project-web/roundup/htdocs/dev_docs/. |
| 47 | |
| 48 sourceforge_prod_sync: | |
| 49 read -p "sync to production y/N? " resp; echo "$$resp" | grep -i "^y" | |
| 50 rsync -av html/. web.sourceforge.net:/home/project-web/roundup/htdocs/. |
