2005-10-03 17:52:07 +00:00
|
|
|
SUBDIRS = codegen gst examples testsuite pkgconfig
|
2002-03-24 04:32:10 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2005-06-17 10:59:47 +00:00
|
|
|
ltihooks.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 \
|
2004-10-11 13:43:26 +00:00
|
|
|
RELEASE
|
2003-07-09 23:29:30 +00:00
|
|
|
|
2005-09-02 11:09:54 +00:00
|
|
|
BUILT_SOURCES = pygst.py
|
2005-09-02 11:18:47 +00:00
|
|
|
CLEANFILES = pygst.py
|
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:
|
|
|
|
@true
|
2005-11-23 21:28:24 +00:00
|
|
|
|
|
|
|
check-torture:
|
|
|
|
@true
|