all: 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
PNGS = $(notdir $(FIGS:%.fig=%.png))
index.html: xaal.md $(PNGS)
pandoc -f markdown -t html -s -T xAAL -o $@ $<
%.png: ${FIGDIR}/%.fig
fig2dev -L png $< $@
install:
@echo Fichiers à copier sur votre serveur web:
@echo index.html $(PNGS)
@echo ../en/xAAL-specs_en.pdf
@echo ../xAAL-specs.pdf
@echo ../../../tags/version_0.1-json/protocole-xAAL.pdf
@echo ../../../tags/version_0.1-bin/protocole_lowlevel.pdf
proper:
rm -f index.html $(PNGS) *~
.PHONY: all install proper
.SUFFIXES: .md .png .fig