Skip to content

Commit 8b74486

Browse files
committed
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.
1 parent 6998f3c commit 8b74486

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

website/www/Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ help:
77
@echo "Please use \`make <target>' where <target> is one of"
88
@echo " html to make standalone HTML files"
99
@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"
1115
clean:
1216
-rm -rf $(TMP) $(HTML) docs COPYING.txt
1317

@@ -40,3 +44,7 @@ linkcheck:
4044

4145
sourceforge_dev_sync:
4246
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/.

0 commit comments

Comments
 (0)