diff --git a/Makefile b/Makefile index e6381a4eb654c18252f1df425d3694783e9ec4b1..8003200c861e41eae28312fffb0382f0a648f018 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ PY?=python3 PELICAN?=pelican PELICANOPTS= +PO4A?=po4a +PO4A_CONF?=po4a.conf BASEDIR=$(CURDIR) INPUTDIR=$(BASEDIR)/content @@ -30,8 +32,7 @@ help: @echo ' make serve [PORT=8000] serve site at http://localhost:8000' @echo ' make serve-global [SERVER=0.0.0.0] serve (as root) to $(SERVER):80 ' @echo ' make devserver [PORT=8000] serve and regenerate together ' - @echo ' make ssh_upload upload the web site via SSH ' - @echo ' make rsync_upload upload the web site via rsync+ssh ' + @echo ' make po update translations using po4a ' @echo ' ' @echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html ' @echo 'Set the RELATIVE variable to 1 to enable relative urls ' @@ -71,5 +72,7 @@ endif publish: $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS) +po: + $(PO4A) $(PO4A_CONF) -.PHONY: html help clean regenerate serve serve-global devserver stopserver publish +.PHONY: html help clean regenerate serve serve-global devserver publish po