diff --git a/configure.ac b/configure.ac index 448a91ae84..45067e9a53 100644 --- a/configure.ac +++ b/configure.ac @@ -1775,7 +1775,6 @@ ext/zbar/Makefile po/Makefile.in docs/Makefile docs/plugins/Makefile -docs/plugins/figures/Makefile docs/version.entities pkgconfig/Makefile pkgconfig/gstreamer-plugins-bad.pc diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am index da7b441ef0..a454ae370d 100644 --- a/docs/plugins/Makefile.am +++ b/docs/plugins/Makefile.am @@ -169,7 +169,7 @@ EXTRA_HFILES = \ $(top_srcdir)/gst-libs/gst/interfaces/photography.h # Images to copy into HTML directory. -HTML_IMAGES = figures/*.png +HTML_IMAGES = camerabin.png # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). content_files = @@ -192,4 +192,14 @@ DOC_OVERRIDES = include $(top_srcdir)/common/gtk-doc-plugins.mak -SUBDIRS = figures +SUBDIRS = + +FIGURES_SOURCEFILES = camerabin.dot +FIGURES_IMAGES = camerabin.png + +EXTRA_DIST += $(FIGURES_SOURCEFILES) + +.dot.png: + dot -Tpng $< -o$@ + +update-figures: $(FIGURES_IMAGES) diff --git a/docs/plugins/figures/camerabin.dot b/docs/plugins/camerabin.dot similarity index 100% rename from docs/plugins/figures/camerabin.dot rename to docs/plugins/camerabin.dot diff --git a/docs/plugins/figures/camerabin.png b/docs/plugins/camerabin.png similarity index 100% rename from docs/plugins/figures/camerabin.png rename to docs/plugins/camerabin.png diff --git a/docs/plugins/figures/Makefile.am b/docs/plugins/figures/Makefile.am deleted file mode 100644 index e57da9031c..0000000000 --- a/docs/plugins/figures/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -SOURCES=camerabin.dot -IMAGES =camerabin.png - -EXTRA_DIST=$(SOURCES) - -.PHONY: update - -.dot.png: - dot -Tpng $< -o$@ - -update: $(IMAGES) -