From b31c63e2e067a16cb568d7fdf179c2bb72032a07 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 26 Jan 2007 07:39:01 +0000 Subject: [PATCH] Make python module DESTDIR-clean to unbreak distcheck when python module is enabled. svn path=/trunk/yasm/; revision=1741 --- tools/python-yasm/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0