all: site/index.html
FIGDIR = ../../../xAAL_specs/trunk/version-0.2_en
FIGS = ${FIGDIR}/bus-xaal_activators.fig ${FIGDIR}/bus-xaal_databases.fig \
${FIGDIR}/bus-xaal_devices.fig
SVGS = $(addprefix docs/img/, $(notdir $(FIGS:%.fig=%.svg)))
site/index.html: mkdocs.yml docs/index.md docs/documentation/index.md docs/software/index.md docs/css/extra.css $(SVGS)
# Install: apt-get install python-pip; pip install mkdocs
mkdocs build
docs/img/%.svg: ${FIGDIR}/%.fig
fig2dev -L svg -Z 12cm $< $@
install:
@echo "Copie du contenu du répertoire 'site' sur le serveur web"
cd site; ../davcpy.sh '.' 'https://webadmin.telecom-bretagne.eu/recherche/xaal/PROD/AdmDav/htdocs/'
test:
mkdocs serve
proper:
-rm -f $(SVGS) docs/*~ *~
-rm -Rf site
.PHONY: all install proper test
.SUFFIXES: .md .png .fig