diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-03 20:56:40 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-04 10:51:10 +0100 |
commit | b7ece104865b689ca1ead7bd7403d663932243de (patch) | |
tree | f1ed2f01afbfd7164a1a1fc4b36489048ae2013f /rules/directfb-examples.make | |
parent | ecfe51ddc60c945db35b75665921b1344f28777d (diff) | |
download | ptxdist-b7ece104865b689ca1ead7bd7403d663932243de.tar.gz ptxdist-b7ece104865b689ca1ead7bd7403d663932243de.tar.xz |
[directfb-examples] cleanup targetinstall
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/directfb-examples.make')
-rw-r--r-- | rules/directfb-examples.make | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/rules/directfb-examples.make b/rules/directfb-examples.make index 6118455c3..634553d25 100644 --- a/rules/directfb-examples.make +++ b/rules/directfb-examples.make @@ -76,29 +76,20 @@ $(STATEDIR)/directfb-examples.targetinstall: @$(call install_fixup, directfb-examples,DESCRIPTION,missing) # installs the binaries - @cd $(DIRECTFB_EXAMPLES_DIR)/src && \ - find . -perm /u+x -type f ! -name "*.[h|c]" | \ + @cd $(DIRECTFB_EXAMPLES_PKGDIR)/usr/bin && \ + find . -perm /u+x -type f | \ while read file; do \ - $(call install_copy, directfb-examples, 0, 0, 0755, \ - $(DIRECTFB_EXAMPLES_DIR)/src/$$file, \ + $(call install_copy, directfb-examples, 0, 0, 0755, -, \ /usr/bin/$${file##*/} \ ) \ done # install the datafiles - @cd $(DIRECTFB_EXAMPLES_DIR)/data && \ - find . -type f -a ! -name "*akefile*" -a ! -name "*.ttf" | \ + @cd $(DIRECTFB_EXAMPLES_PKGDIR)/usr/share/directfb-examples && \ + find . -type f | \ while read file; do \ - $(call install_copy, directfb-examples, 0, 0, 0644, \ - $(DIRECTFB_EXAMPLES_DIR)/data/$$file, \ - /usr/share/directfb-examples/$${file##*/}, n \ - ) \ - done; \ - find . -type f -a ! -name "*akefile*" -a -name "*.ttf" | \ - while read file; do \ - $(call install_copy, directfb-examples, 0, 0, 0644, \ - $(DIRECTFB_EXAMPLES_DIR)/data/$$file, \ - /usr/share/directfb-examples/fonts/$${file##*/}, n \ + $(call install_copy, directfb-examples, 0, 0, 0644, -, \ + /usr/share/directfb-examples/$${file##./}, n \ ) \ done |