mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
14650368eb
Original commit message from CVS: * Makefile.am: * configure.ac: * win32/MANIFEST: * win32/common/.cvsignore: * win32/common/config.h.in: Add win32 requirements. Fixes #433375
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
SUBDIRS = codegen gst examples testsuite pkgconfig
|
|
|
|
win32 = $(shell cat $(top_srcdir)/win32/MANIFEST)
|
|
|
|
debug:
|
|
echo $(win32)
|
|
|
|
ACLOCAL_AMFLAGS = -I common/m4
|
|
|
|
EXTRA_DIST = \
|
|
gstltihooks.py \
|
|
pygst.py.in \
|
|
gst-python.spec.in \
|
|
gst-python.spec \
|
|
RELEASE gst-python.doap \
|
|
$(win32)
|
|
|
|
BUILT_SOURCES = pygst.py
|
|
CLEANFILES = pygst.py pygst.pyc
|
|
|
|
include $(top_srcdir)/common/release.mak
|
|
|
|
pygst.py: $(top_srcdir)/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 $@
|
|
|
|
# rewrite pygst path in installed pygst.py, install pth file.
|
|
# they go in pyexecdir, should make 64bit users happy
|
|
install-exec-local: Makefile
|
|
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)
|
|
sed -e "s|@PYGSTDIR\@|$(PYEXECDIR)/gst-$(GST_MAJORMINOR)|g" \
|
|
-e "s|@GST_MAJORMINOR\@|$(GST_MAJORMINOR)|g" \
|
|
$(srcdir)/pygst.py.in > $(DESTDIR)$(pyexecdir)/pygst.py
|
|
chmod 644 $(DESTDIR)$(pyexecdir)/pygst.py
|
|
echo "gst-$(GST_MAJORMINOR)" > $(DESTDIR)$(pyexecdir)/pygst.pth
|
|
|
|
uninstall-local:
|
|
@rm $(DESTDIR)/$(pyexecdir)/pygst.py > /dev/null 2>&1 || true
|
|
@rm $(DESTDIR)/$(pyexecdir)/pygst.pth > /dev/null 2>&1 || true
|
|
|
|
check-valgrind:
|
|
cd testsuite/ && make check-valgrind
|
|
|
|
check-torture:
|
|
@true
|
|
|
|
include $(top_srcdir)/common/coverage/lcov.mak
|