2005-10-03 17:52:07 +00:00
|
|
|
SUBDIRS = codegen gst examples testsuite pkgconfig
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2007-02-16 02:39:56 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I common/m4
|
|
|
|
|
2002-03-24 04:32:10 +00:00
|
|
|
EXTRA_DIST = \
|
2006-09-23 10:43:18 +00:00
|
|
|
gstltihooks.py \
|
2005-09-02 11:01:24 +00:00
|
|
|
pygst.py.in \
|
2004-03-16 18:42:00 +00:00
|
|
|
gst-python.spec.in \
|
|
|
|
gst-python.spec \
|
2006-12-15 17:02:31 +00:00
|
|
|
RELEASE gst-python.doap
|
2003-07-09 23:29:30 +00:00
|
|
|
|
2005-09-02 11:09:54 +00:00
|
|
|
BUILT_SOURCES = pygst.py
|
2006-06-13 10:59:44 +00:00
|
|
|
CLEANFILES = pygst.py pygst.pyc
|
2005-09-02 11:09:54 +00:00
|
|
|
|
2004-06-21 10:18:08 +00:00
|
|
|
include $(top_srcdir)/common/release.mak
|
2005-07-01 10:47:25 +00:00
|
|
|
|
2005-09-02 10:56:19 +00:00
|
|
|
pygst.py: $(top_srcdir)/pygst.py.in Makefile
|
2005-07-12 14:00:03 +00:00
|
|
|
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.
|
2005-12-14 17:18:38 +00:00
|
|
|
# they go in pyexecdir, should make 64bit users happy
|
|
|
|
install-exec-local: Makefile
|
2005-07-01 10:47:25 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)
|
2005-12-14 17:18:38 +00:00
|
|
|
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
|
2005-07-01 10:47:25 +00:00
|
|
|
echo "gst-$(GST_MAJORMINOR)" > $(DESTDIR)$(pyexecdir)/pygst.pth
|
2005-09-02 11:07:49 +00:00
|
|
|
|
|
|
|
uninstall-local:
|
2005-12-14 17:18:38 +00:00
|
|
|
@rm $(DESTDIR)/$(pyexecdir)/pygst.py > /dev/null 2>&1 || true
|
2005-09-02 11:07:49 +00:00
|
|
|
@rm $(DESTDIR)/$(pyexecdir)/pygst.pth > /dev/null 2>&1 || true
|
2005-09-18 13:24:17 +00:00
|
|
|
|
|
|
|
check-valgrind:
|
2006-04-07 15:41:00 +00:00
|
|
|
cd testsuite/ && make check-valgrind
|
2005-11-23 21:28:24 +00:00
|
|
|
|
|
|
|
check-torture:
|
|
|
|
@true
|
2006-07-03 13:32:08 +00:00
|
|
|
|
|
|
|
include $(top_srcdir)/common/coverage/lcov.mak
|