.POSIX:
DATE         = 1970-01-01
VERSION      = 0.1.0
NAME         = euandre.org
NAME_UC      = $(NAME)
## Content is partitioned by language, so mkwb conf derives a
## page's language from its path rather than treating the site as
## flat.  Only whether this is empty matters, not what is in it.
LANGUAGES    = en
PORT         = 3333



all:
include deps.mk

$(derived-assets): Makefile deps.mk



## ---- what this site has beyond the canonical rules -------------

integration-tests = \

.PRECIOUS: $(integration-tests)
$(integration-tests): ALWAYS
	sh $@

check-integration: $(integration-tests)

check: check-unit check-integration


## Regenerate every translated page from the catalogues.  Not part
## of "all": it rewrites tracked sources.
i18n:
	po4a po/po4a.cfg


## Serve the installed tree, to read it as it will be served.
run:
	serve -n -p $(PORT) -d '$(DESTDIR)$(HTMLDIR)'
