summaryrefslogtreecommitdiffstats
path: root/docs/lasso-book
diff options
context:
space:
mode:
Diffstat (limited to 'docs/lasso-book')
-rw-r--r--docs/lasso-book/Makefile.am4
-rw-r--r--docs/lasso-book/figures/Makefile.am4
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/lasso-book/Makefile.am b/docs/lasso-book/Makefile.am
index 6025af9e..c837cc2d 100644
--- a/docs/lasso-book/Makefile.am
+++ b/docs/lasso-book/Makefile.am
@@ -1,4 +1,8 @@
+if HAVE_INKSCAPE
+if HAVE_XSLTPROC
SUBDIRS = figures
+endif
+endif
docdir = $(datadir)/doc/lasso
diff --git a/docs/lasso-book/figures/Makefile.am b/docs/lasso-book/figures/Makefile.am
index 11fb0479..8145e516 100644
--- a/docs/lasso-book/figures/Makefile.am
+++ b/docs/lasso-book/figures/Makefile.am
@@ -23,11 +23,11 @@ figures_DATA = $(FIGURES_PNG_FILES)
CLEANFILES = $(FIGURES_PNG_FILES) $(FIGURES_SVG_FILES)
%.svg:
- xsltproc --stringparam stepno `echo $@ | sed -e 's/[^0-9]//g'` $(srcdir)/step.xsl \
+ $(XSLTPROC) --stringparam stepno `echo $@ | sed -e 's/[^0-9]//g'` $(srcdir)/step.xsl \
$< > $@
%.png: %.svg
- inkscape -d 150 --export-png=$@ $<
+ $(INKSCAPE) -d 150 --export-png=$@ $<
sso-brws-art-1.svg: sso-brws-art.svg step.xsl