summaryrefslogtreecommitdiff
path: root/doc/figures
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2001-12-01 20:39:46 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2001-12-01 20:39:46 +0000
commit6fc642aba5ebccd59617237dc7db9b3de55a58d7 (patch)
tree14ae01258e688b982e11c170999c5ab4c32950f6 /doc/figures
parentd24a4c04a41530c6164f382c6ce31e2cd36751d8 (diff)
downloadlibgphoto2-6fc642aba5ebccd59617237dc7db9b3de55a58d7.tar.gz
build jpg and png figures if ENABLE_FIGURES set
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3319 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'doc/figures')
-rw-r--r--doc/figures/Makefile.am32
1 files changed, 22 insertions, 10 deletions
diff --git a/doc/figures/Makefile.am b/doc/figures/Makefile.am
index 540675dd0..d56f4d55a 100644
--- a/doc/figures/Makefile.am
+++ b/doc/figures/Makefile.am
@@ -2,16 +2,21 @@
CLEANFILES = *.pdf *.eps *.ps *.png *.jpg
-EXTRA_DIST = architecture.fig libgphoto2-api.fig libgphoto2-camlib.fig libgphoto2_port.fig
-
-if BUILD_DOC_FIGURES
-all-local: \
- architecture.jpg libgphoto2-api.jpg libgphoto2-camlib.jpg libgphoto2_port.jpg gphotofs.jpg \
- architecture.png libgphoto2-api.png libgphoto2-camlib.png libgphoto2_port.png gphotofs.png \
- architecture.pdf libgphoto2-api.pdf libgphoto2-camlib.pdf libgphoto2_port.pdf gphotofs.pdf \
- architecture.ps libgphoto2-api.ps libgphoto2-camlib.ps libgphoto2_port.ps gphotofs.ps \
- architecture.eps libgphoto2-api.eps libgphoto2-camlib.eps libgphoto2_port.eps gphotofs.eps
-endif
+EXTRA_DIST = architecture.fig libgphoto2-api.fig libgphoto2-camlib.fig libgphoto2_port.fig gphotofs.fig
+
+figuredir = @HTML_DIR@/figures
+
+if ENABLE_FIGURES
+
+#all-local: \
+# architecture.jpg libgphoto2-api.jpg libgphoto2-camlib.jpg libgphoto2_port.jpg gphotofs.jpg \
+# architecture.png libgphoto2-api.png libgphoto2-camlib.png libgphoto2_port.png gphotofs.png \
+# architecture.pdf libgphoto2-api.pdf libgphoto2-camlib.pdf libgphoto2_port.pdf gphotofs.pdf \
+# architecture.ps libgphoto2-api.ps libgphoto2-camlib.ps libgphoto2_port.ps gphotofs.ps \
+# architecture.eps libgphoto2-api.eps libgphoto2-camlib.eps libgphoto2_port.eps gphotofs.eps
+
+figure_DATA = architecture.png libgphoto2-api.png libgphoto2-camlib.png libgphoto2_port.png gphotofs.png \
+ architecture.jpg libgphoto2-api.jpg libgphoto2-camlib.jpg libgphoto2_port.jpg gphotofs.jpg
%.eps: %.fig
fig2dev -L eps $< $@
@@ -29,3 +34,10 @@ endif
fig2dev -L jpeg -m 1.5 $< $@
%.pdf: %.ps
+
+else
+
+all-local:
+ @echo "Dummy target $@"
+
+endif