summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:14:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:15:08 +0200
commitbb80da3e374d5d4f1b2b3c19ceda43f361f5bff8 (patch)
tree7eaa9be95f33863ff3994368c247bd6997580f10 /rules
parent76931876380e097b1db06e08056e46704d468671 (diff)
downloadptxdist-bb80da3e374d5d4f1b2b3c19ceda43f361f5bff8.tar.gz
ptxdist-bb80da3e374d5d4f1b2b3c19ceda43f361f5bff8.tar.xz
python3-ipython: use install_glob
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/python3-ipython.make7
1 files changed, 2 insertions, 5 deletions
diff --git a/rules/python3-ipython.make b/rules/python3-ipython.make
index da3aafce3..4969c9887 100644
--- a/rules/python3-ipython.make
+++ b/rules/python3-ipython.make
@@ -56,11 +56,8 @@ $(STATEDIR)/python3-ipython.targetinstall:
@$(call install_fixup, python3-ipython, DESCRIPTION, missing)
# # We have to install the source code to avoid python3 error: "OSError: could not get source code"
- @for file in `find $(PYTHON3_IPYTHON_PKGDIR)/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/IPython \
- ! -type d ! -name "*.pyc" -printf "%P\n"`; do \
- $(call install_copy, python3-ipython, 0, 0, 0644, -, \
- /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/IPython/$$file); \
- done
+ @$(call install_glob, python3-ipython, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/IPython,, *.pyc)
@$(call install_copy, python3-ipython, 0, 0, 0755, -, /usr/bin/ipython3)