Abstract the plugin-srcdir installation idiottest into a separate file, and include...
[platform/upstream/gstreamer.git] / idiottest.mak
1 # Idiot test to stop the installing of versions with plugin srcdir enabled
2 install-exec-local:
3 if PLUGINS_USE_SRCDIR
4         @echo "*** ERROR: Cannot install:" 2>&1
5         @echo "GStreamer was configured using the --enable-plugin-srcdir option." 2>&1
6         @echo
7         @echo "This option is for development purposes only: binaries built with" 2>&1
8         @echo "it should be used with code in the build tree only.  To build an"
9         @echo "installable version, use ./configure without the --enable-plugin-srcdir"
10         @echo "option.  Note that the autogen.sh script supplies the plugin srcdir"
11         @echo "option automatically - it cannot be used to configure installable builds"
12         @echo
13         @/bin/false
14 endif
15