diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-10-03 10:52:25 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-10-03 10:52:25 +0200 |
commit | a30f8cf3e2ff300d39832091281f78036b83ba00 (patch) | |
tree | 7660d8abf2f309ed698522dbc6d24cd2589c6d5e | |
parent | a0b40e3c5f372d7bfb5d7df83eecc8831f2749d9 (diff) | |
download | ptxdist-a30f8cf3e2ff300d39832091281f78036b83ba00.tar.gz ptxdist-a30f8cf3e2ff300d39832091281f78036b83ba00.tar.xz |
flup: use install_glob instead of manual find loop
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/flup.make | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rules/flup.make b/rules/flup.make index 402a00870..2740e5dcb 100644 --- a/rules/flup.make +++ b/rules/flup.make @@ -49,10 +49,8 @@ $(STATEDIR)/flup.targetinstall: @$(call install_copy, flup, 0, 0, 0755, $(PYTHON_SITEPACKAGES)/flup/client) @$(call install_copy, flup, 0, 0, 0755, $(PYTHON_SITEPACKAGES)/flup/server) - for file in $(shell cd $(FLUP_PKGDIR) && find . -name "*.pyc"); \ - do \ - $(call install_copy, flup, 0, 0, 0644, -, /$$file) \ - done + @$(call install_glob, flup, 0, 0, -, \ + /usr/lib/python$(PYTHON_MAJORMINOR)/site-packages/flup,, *.py) @$(call install_finish, flup) |