From: Peter Johnson Date: Fri, 26 Jan 2007 07:39:01 +0000 (-0000) Subject: Make python module DESTDIR-clean to unbreak distcheck when python module is X-Git-Tag: v0.6.0~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b31c63e2e067a16cb568d7fdf179c2bb72032a07;p=yasm Make python module DESTDIR-clean to unbreak distcheck when python module is enabled. svn path=/trunk/yasm/; revision=1741 --- diff --git a/tools/python-yasm/Makefile.inc b/tools/python-yasm/Makefile.inc index b367f226..ed8d7df3 100644 --- a/tools/python-yasm/Makefile.inc +++ b/tools/python-yasm/Makefile.inc @@ -38,10 +38,10 @@ python-build: .python-build CLEANFILES += .python-build python-install: .python-build - $(PYTHON) `test -f tools/python-yasm/setup.py || echo '$(srcdir)/'`tools/python-yasm/setup.py install "--install-lib=$(pythondir)" + $(PYTHON) `test -f tools/python-yasm/setup.py || echo '$(srcdir)/'`tools/python-yasm/setup.py install "--install-lib=$(DESTDIR)$(pythondir)" python-uninstall: - rm -f `$(PYTHON) -c "import sys;sys.path.insert(0, '${pythondir}'); import yasm; print yasm.__file__"` + rm -f `$(PYTHON) -c "import sys;sys.path.insert(0, '${DESTDIR}${pythondir}'); import yasm; print yasm.__file__"` else