mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
Add idiot test to stop the installing of versions with plugin srcdir enabled.
Original commit message from CVS: Add idiot test to stop the installing of versions with plugin srcdir enabled.
This commit is contained in:
parent
efef6b28ba
commit
769318c1d0
3 changed files with 17 additions and 0 deletions
15
Makefile.am
15
Makefile.am
|
@ -40,3 +40,18 @@ dist-hook:
|
|||
|
||||
rpm: dist
|
||||
rpm -ta $(distdir).tar.gz
|
||||
|
||||
# Idiot test to stop the installing of versions with plugin srcdir enabled
|
||||
install-exec-hook:
|
||||
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
|
||||
|
|
|
@ -913,6 +913,7 @@ AM_CONDITIONAL(HAVE_LIBAA, test "x$HAVE_LIBAA" = "xyes")
|
|||
AM_CONDITIONAL(HAVE_GNOME_VFS, test "x$HAVE_GNOME_VFS" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBOPENQUICKTIME, test "x$HAVE_LIBOPENQUICKTIME" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBGSM, test "x$HAVE_LIBGSM" = "xyes")
|
||||
AM_CONDITIONAL(PLUGINS_USE_SRCDIR, test "x$PLUGINS_USE_SRCDIR" = "xyes")
|
||||
|
||||
|
||||
dnl ############################
|
||||
|
|
|
@ -908,6 +908,7 @@ AM_CONDITIONAL(HAVE_LIBAA, test "x$HAVE_LIBAA" = "xyes")
|
|||
AM_CONDITIONAL(HAVE_GNOME_VFS, test "x$HAVE_GNOME_VFS" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBOPENQUICKTIME, test "x$HAVE_LIBOPENQUICKTIME" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBGSM, test "x$HAVE_LIBGSM" = "xyes")
|
||||
AM_CONDITIONAL(PLUGINS_USE_SRCDIR, test "x$PLUGINS_USE_SRCDIR" = "xyes")
|
||||
|
||||
|
||||
dnl ############################
|
||||
|
|
Loading…
Reference in a new issue