tests: create/remove orc directory at proper time
authorDavid Schleef <ds@schleef.org>
Fri, 9 Aug 2013 19:12:09 +0000 (20:12 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 9 Aug 2013 19:14:03 +0000 (20:14 +0100)
Before automake creates .deps directories, and during distclean.

https://bugzilla.gnome.org/show_bug.cgi?id=705350

configure.ac
tests/check/Makefile.am

index 9a4a2d1..d7dfe35 100644 (file)
@@ -2306,6 +2306,8 @@ AC_SUBST(GST_PLUGIN_LDFLAGS)
 
 dnl *** output files ***
 
+$MKDIR_P tests/check/orc
+
 dnl po/Makefile.in
 
 AC_CONFIG_FILES(
index b3f6d30..943f78b 100644 (file)
@@ -31,7 +31,8 @@ CLEANFILES = core.* test-registry.*
 
 SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-bad.supp
 
-clean-local: clean-local-check clean-local-orc
+clean-local: clean-local-check
+distclean-local: distclean-local-orc
 
 if USE_ASSRENDER
 check_assrender = elements/assrender
@@ -378,6 +379,6 @@ orc/bayer.c: $(top_srcdir)/gst/bayer/gstbayerorc.orc
        $(MKDIR_P) orc
        $(ORCC) --test -o $@ $<
 
-clean-local-orc:
+distclean-local-orc:
        rm -rf orc