Skip to content
Snippets Groups Projects
Verified Commit 93f7ffa3 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add make po

parent 92bdcac0
No related branches found
No related tags found
No related merge requests found
Pipeline #4877 passed
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment