htmldocs = $(patsubst %.pod, %.html, $(notdir $(wildcard ../../../doc/devdoc/*.pod)))

all: $(htmldocs)

clean:
	rm -f *~ *.tmp
	rm -f $(htmldocs)

%.html : ../../../doc/devdoc/%.pod
	pod2html --infile=$< --outfile=$@ \
		--htmlroot='file:///usr/share/doc/torrus-common' \
		--podroot='../../../doc/devdoc' --noindex -norecurse
