mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 07:26:33 +00:00
32dbfea730
Original commit message from CVS: * README-docs: * configure.ac: * Makefile.am: Remove old documentation system * gst/gst.defs: * gst/gst-types.defs: Updating defs files * gst/gst.override: Wrapped gst_flow_get_name() for const-gchar * * gst/gstelement.override: I really should test everything on 32 AND 64 bits systems... * gst/gstevent.override: Updated gst_event_new_seek() wrapper Added gst_event_get_structure() wrapper * gst/gstmodule.c: Changed definition of gst.CLOCK_TIME_NONE to wrap GST_CLOCK_TIME_NONE * testsuite/testhelpermodule.c: gst_event_new --> gst_event_new_custom
35 lines
1,013 B
Makefile
35 lines
1,013 B
Makefile
UNCONDDIRS = examples gst pkgconfig testsuite
|
|
SUBDIRS = \
|
|
$(UNCONDDIRS)
|
|
DIST_SUBDIRS = $(UNCONDDIRS)
|
|
|
|
EXTRA_DIST = \
|
|
ltihooks.py \
|
|
gst-python.spec.in \
|
|
gst-python.spec \
|
|
RELEASE
|
|
|
|
include $(top_srcdir)/common/release.mak
|
|
|
|
pygst.py: pygst.py.in Makefile
|
|
if test -f $@; then chmod +w $@; fi
|
|
sed -e "s|@PYGSTDIR\@|$(shell pwd)|g" \
|
|
-e "s|@GST_MAJORMINOR\@|$(GST_MAJORMINOR)|g" \
|
|
$< > $@
|
|
chmod -w $@
|
|
|
|
all-local: pygst.py
|
|
|
|
# rewrite pygst path in installed pygst.py, install pth file.
|
|
install-data-local: Makefile
|
|
$(mkinstalldirs) $(DESTDIR)$(pythondir)
|
|
sed -e "s|@PYGSTDIR\@|$(PYTHONDIR)/gst-$(GST_MAJORMINOR)|g" \
|
|
-e "s|@GST_MAJORMINOR\@|$(GST_MAJORMINOR)|g" \
|
|
$(srcdir)/pygst.py.in > $(DESTDIR)$(pythondir)/pygst.py
|
|
chmod 644 $(DESTDIR)$(pyexecdir)/pygst.py
|
|
echo "gst-$(GST_MAJORMINOR)" > $(DESTDIR)$(pythondir)/pygst.pth
|
|
|
|
# also install pth file in pyexec.
|
|
install-exec-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)
|
|
echo "gst-$(GST_MAJORMINOR)" > $(DESTDIR)$(pyexecdir)/pygst.pth
|