summaryrefslogtreecommitdiff
path: root/Makefile
blob: bdd7e3020abd28469699e71a1b1fbbc430241615 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.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)'