gstreamer/Makefile.am
Edward Hervey f3ec338b76 Modifications to have parallel-installable gst-python
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* gst/Makefile.am:
* pygst.py.in:
Modifications to have parallel-installable gst-python
Works more or less in the same way as pygtk:
import pygst
pygst.require('0.9')
import gst
2005-07-01 10:47:25 +00:00

33 lines
759 B
Makefile

if BUILD_DOCS
SUBDIRS_DOCS = docs
else
SUBDIRS_DOCS =
endif
UNCONDDIRS = examples gst pkgconfig testsuite
SUBDIRS = \
$(UNCONDDIRS) \
$(SUBDIRS_DOCS)
DIST_SUBDIRS = $(UNCONDDIRS) docs
EXTRA_DIST = \
ltihooks.py \
gst-python.spec.in \
gst-python.spec \
README-docs \
RELEASE
include $(top_srcdir)/common/release.mak
# install pth file.
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pythondir)
echo "gst-$(GST_MAJORMINOR)" > $(DESTDIR)$(pyexecdir)/pygst.pth
install-exec-local:
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)
echo "gst-$(GST_MAJORMINOR)" > $(DESTDIR)$(pyexecdir)/pygst.pth
uninstall-local:
rm -f $(DESTDIR)$(pythondir)/pygst.pth $(DESTDIR)$(pyexecdir)/pygst.pth
# this file is common to all pygtk versions.
pyexec_PYTHON = pygst.py