EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \
gstreamer.pc.in gstreamer-uninstalled.pc.in \
configure.base autogen.sh \
- LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS)
+ LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS) \
+ idiottest.mak
dist-hook:
cp gstreamer.spec $(distdir)
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
+include $(top_srcdir)/idiottest.mak
# Rules to generate autoconf scripts if configure.base is updated
$(top_srcdir)/configure.in: $(top_srcdir)/configure.base
--- /dev/null
+# 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
+
mmx.h \
sse.h \
gstaudio.h
+
+# This test needs to go here because this is the first makefile which the
+# install target gets run in.
+include $(top_srcdir)/idiottest.mak