TOPDIR=$(CURDIR)/.. #PATH:="$(PATH):$(PWD)/../scripts" #export PATH TMPL2SGML=../../utils/scripts/tmpl2sgml export TMPL2SGML KERNELDOC=$(CURDIR)/../../utils/scripts/kernel-doc #KERNELDOC=$(TOPDIR)/scripts/kernel-doc export KERNELDOC %.sgml: %.tmpl echo KERNELDOC=$KERNELDOC $(TMPL2SGML) $< >$@ %.pdf : %.sgml @(which db2pdf > /dev/null 2>&1) || \ (echo "*** You need to install DocBook stylesheets ***"; \ exit 1) db2pdf $< %.html: %.sgml @(which db2html > /dev/null 2>&1) || \ (echo "*** You need to install DocBook stylesheets ***"; \ exit 1) db2html $< all: default default: htmldocs htmldocs: can_vca.html can_vca.sgml: can_vca.tmpl can_vca.html: can_vca.sgml clean: rm -f *.sgml *.html *.log *.aux