gstreamer/idiottest.mak
Richard Boulton c3086c42aa 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.
2001-05-31 18:35:11 +00:00

16 lines
666 B
Makefile

# 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