Commit 9cccf416 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

install pygimp.interp, which configures the python interpreter to point to

2005-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: install pygimp.interp, which configures
        the python interpreter to point to the python we were built with. Also
        register the .py extension.
parent 398d6f18
......@@ -70,10 +70,25 @@ pygimp_PYTHON = \
pygimp_DATA = pygimp-logo.png
pyenvdir = $(gimpplugindir)/environ
pyinterpdir = $(gimpplugindir)/interpreters
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pyenvdir)
echo ": PYTHONPATH=$(pygimpdir)" > $(DESTDIR)$(pyenvdir)/pygimp.env
pyenvfile = $(pyenvdir)/pygimp.env
pyinterpfile = $(pyinterpdir)/pygimp.interp
install-env-file:
$(mkinstalldirs) '$(DESTDIR)$(pyenvdir)'
echo ": PYTHONPATH=$(pygimpdir)" > '$(DESTDIR)$(pyenvfile)'
install-interp-file:
$(mkinstalldirs) '$(DESTDIR)$(pyinterpdir)'
echo 'python=$(PYTHON)' > '$(DESTDIR)$(pyinterpfile)'
echo '/usr/bin/python=$(PYTHON)' >> '$(DESTDIR)$(pyinterpfile)'
echo ':Python:E::py::python:' >> '$(DESTDIR)$(pyinterpfile)'
install-data-local: install-env-file install-interp-file
uninstall-local:
rm -f '$(DESTDIR)$(pyenvfile)' '$(DESTDIR)$(pyinterpfile)'
snap:
$(MAKE) dist distdir=$(PACKAGE)-SNAP-`date +"%Y%m%d"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment