$(DOC)/%.html: %.sgml
echo Creating html for $< to $@
-rm -rf $@
- (HERE=`pwd`; cd $(@D) && debiandoc2html $$HERE/$<)
+ (HERE=`pwd`; cd $(@D) && $(DEBIANDOC_HTML) $(DEBIANDOC_HTML_OPTIONS) $$HERE/$<)
# Clean rule
.PHONY: veryclean/html/$(LOCAL)
vpath %.sgml $(SUBDIRS)
$(DOC)/%.text: %.sgml
echo Creating text for $< to $@
- debiandoc2text -O $< > $@
+ $(DEBIANDOC_TEXT) -O $< > $@
# Clean rule
.PHONY: veryclean/text/$(LOCAL)