summaryrefslogtreecommitdiffstats
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
commit9323a39fe5d1a2a30e208fabb624f90b82a251fe (patch)
treedbfcb34822c49439094c95d9571a9f5d5b05362b
parent1a021a676a8bfc1fd3d8f7838f19e121c6583f68 (diff)
downloadptxdist-9323a39fe5d1a2a30e208fabb624f90b82a251fe.tar.gz
ptxdist-9323a39fe5d1a2a30e208fabb624f90b82a251fe.tar.xz
python3-gi: use install_glob
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/python3-gi.make7
1 files changed, 2 insertions, 5 deletions
diff --git a/rules/python3-gi.make b/rules/python3-gi.make
index 5881c47ac..c3d94b193 100644
--- a/rules/python3-gi.make
+++ b/rules/python3-gi.make
@@ -63,11 +63,8 @@ $(STATEDIR)/python3-gi.targetinstall:
@$(call install_fixup, python3-gi,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
@$(call install_fixup, python3-gi,DESCRIPTION,missing)
- @for file in `find $(PYTHON3_GI_PKGDIR)/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/gi \
- ! -type d ! -name "*.py" -printf "%P\n"`; do \
- $(call install_copy, python3-gi, 0, 0, 0644, -, \
- /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/gi/$$file); \
- done
+ @$(call install_glob, python3-gi, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/gi,, *.py *.la)
@$(call install_finish, python3-gi)