gstreamer/idiottest.mak

16 lines
666 B
Makefile
Raw Normal View History

# 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