tests: create/remove orc directory at proper time
authorDavid Schleef <ds@schleef.org>
Sat, 3 Aug 2013 00:38:34 +0000 (17:38 -0700)
committerDavid Schleef <ds@schleef.org>
Sat, 3 Aug 2013 00:38:34 +0000 (17:38 -0700)
Before automake creates .deps directories, and during distclean.

configure.ac
tests/check/Makefile.am

index 40bb56d..3e83f6c 100644 (file)
@@ -1110,6 +1110,8 @@ AC_SUBST(GST_PLUGIN_LDFLAGS)
 
 dnl *** output files ***
 
+$MKDIR_P tests/check/orc
+
 dnl keep this alphabetic per directory, please
 AC_CONFIG_FILES(
 Makefile
index c3bacc4..b9d9cec 100644 (file)
@@ -33,7 +33,8 @@ TESTS_ENVIRONMENT = \
 # the core dumps of some machines have PIDs appended
 CLEANFILES = core.* test-registry.*
 
-clean-local: clean-local-check clean-local-orc
+clean-local: clean-local-check
+distclean-local: distclean-local-orc
 
 if USE_FLAC
 check_flac = pipelines/flacdec
@@ -359,7 +360,7 @@ orc/videobox.c: $(top_srcdir)/gst/videobox/gstvideoboxorc.orc
        $(MKDIR_P) orc/
        $(ORCC) --test -o $@ $<
 
-clean-local-orc:
+distclean-local-orc:
        rm -rf orc
 
 EXTRA_DIST = gst-plugins-good.supp