summaryrefslogtreecommitdiff
path: root/idiottest.mak
diff options
context:
space:
mode:
authorRichard Boulton <richard@tartarus.org>2001-05-31 18:35:11 +0000
committerRichard Boulton <richard@tartarus.org>2001-05-31 18:35:11 +0000
commitc3086c42aaf85e90872c29bb1c3266ee7f0245af (patch)
treeb88456cc0b21d1a74cc71b20ca600135b130c8b1 /idiottest.mak
parent5d2d76287467321cda814abdb4760aeefccf098e (diff)
downloadgstreamer-c3086c42aaf85e90872c29bb1c3266ee7f0245af.tar.gz
Abstract the plugin-srcdir installation idiottest into a separate file, and include it from the include Makefile.am, ...
Original commit message from CVS: Abstract the plugin-srcdir installation idiottest into a separate file, and include it from the include Makefile.am, to ensure that it gets called at the start of a make install process, not after the whole thing has happened.
Diffstat (limited to 'idiottest.mak')
-rw-r--r--idiottest.mak15
1 files changed, 15 insertions, 0 deletions
diff --git a/idiottest.mak b/idiottest.mak
new file mode 100644
index 0000000000..444a5f3d74
--- /dev/null
+++ b/idiottest.mak
@@ -0,0 +1,15 @@
+# Idiot test to stop the installing of versions with plugin srcdir enabled
+install-exec-local:
+if PLUGINS_USE_SRCDIR
+ @echo "*** ERROR: Cannot install:" 2>&1
+ @echo "GStreamer was configured using the --enable-plugin-srcdir option." 2>&1
+ @echo
+ @echo "This option is for development purposes only: binaries built with" 2>&1
+ @echo "it should be used with code in the build tree only. To build an"
+ @echo "installable version, use ./configure without the --enable-plugin-srcdir"
+ @echo "option. Note that the autogen.sh script supplies the plugin srcdir"
+ @echo "option automatically - it cannot be used to configure installable builds"
+ @echo
+ @/bin/false
+endif
+