mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
72d5f04779
Original commit message from CVS: add empty check-valgrind target
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
UNCONDDIRS = examples gst pkgconfig testsuite
|
|
SUBDIRS = \
|
|
$(UNCONDDIRS)
|
|
DIST_SUBDIRS = $(UNCONDDIRS)
|
|
|
|
EXTRA_DIST = \
|
|
ltihooks.py \
|
|
pygst.py.in \
|
|
gst-python.spec.in \
|
|
gst-python.spec \
|
|
RELEASE
|
|
|
|
BUILT_SOURCES = pygst.py
|
|
CLEANFILES = pygst.py
|
|
|
|
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.
|
|
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)$(pythondir)/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
|
|
|
|
uninstall-local:
|
|
@rm $(DESTDIR)/$(pythondir)/pygst.py > /dev/null 2>&1 || true
|
|
@rm $(DESTDIR)/$(pythondir)/pygst.pth > /dev/null 2>&1 || true
|
|
@rm $(DESTDIR)/$(pyexecdir)/pygst.pth > /dev/null 2>&1 || true
|
|
|
|
check-valgrind:
|
|
@true
|