docs: fix dist/distcheck issues with camerabin figures

Move figures into docs/plugins as well, to avoid issues with
make dist and make distcheck (make distdir will not first descend
into child directories). Out-of-source build seems to still work
as well.
This commit is contained in:
Tim-Philipp Müller 2010-05-26 14:03:20 +01:00
parent d1b800a4ce
commit 0f70a6b885
5 changed files with 12 additions and 15 deletions

View file

@ -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

View file

@ -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)

View file

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View file

@ -1,12 +0,0 @@
SOURCES=camerabin.dot
IMAGES =camerabin.png
EXTRA_DIST=$(SOURCES)
.PHONY: update
.dot.png:
dot -Tpng $< -o$@
update: $(IMAGES)