From: Konrad Rzeszutek Wilk Date: Wed, 11 Feb 2015 14:44:17 +0000 (-0500) Subject: Makefile: rm files after python-deps. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2c1dec5c5d6f01cc89ac862d5e055599289dd5ca;p=xentesttools%2Fbootstrap.git Makefile: rm files after python-deps. The python-extra removes the files, but we might (if run with make -j8) also extract the files in other build stanzas. As such put it back in the python one to remove the files. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/root_image/Makefile b/root_image/Makefile index 385e512..90266fc 100644 --- a/root_image/Makefile +++ b/root_image/Makefile @@ -787,6 +787,9 @@ python-extra: python-core $(call RPM_INSTALL,$(RPM_DIR)/libxml2-python) #rm -f userspace/usr/lib64/python2.6/site-packages/libxml2mod.la #rm -f userspace/usr/lib64/python2.6/lib-dynload/pyexpat.so + rm -f userspace/usr/lib*/python2.6/lib-dynload/_ctypes.so + rm -f userspace/usr/lib*/python2.6/lib-dynload/_sqlite3.so + rm -f userspace/usr/lib*/python2.6/idlelib/*.bat .PHONY: python-install python-install: python-deps python-core