diff options
author | matteo <matteo.pasotti@gmail.com> | 2015-04-25 15:25:08 +0200 |
---|---|---|
committer | matteo <matteo.pasotti@gmail.com> | 2015-04-25 15:25:08 +0200 |
commit | 3fe4551df5f825213c266a2a2b8aad3adecd4507 (patch) | |
tree | 877c344c15e92113ae1f35c5bd68b92f76f0ff98 | |
parent | 97e54cd337bd3af78ca04530e122b214c1f69588 (diff) | |
download | manatools-3fe4551df5f825213c266a2a2b8aad3adecd4507.tar manatools-3fe4551df5f825213c266a2a2b8aad3adecd4507.tar.gz manatools-3fe4551df5f825213c266a2a2b8aad3adecd4507.tar.bz2 manatools-3fe4551df5f825213c266a2a2b8aad3adecd4507.tar.xz manatools-3fe4551df5f825213c266a2a2b8aad3adecd4507.zip |
use find instead of ls and use a more compact syntax
-rw-r--r-- | Makefile.PL | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.PL b/Makefile.PL index 3ac5cd53..447a1360 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -99,9 +99,8 @@ localedir = $(PREFIX)/share/locale PGOAL = manatools # perl files to search translatable strings in -PL_FILES = $(shell ls lib/ManaTools/*.pm) $(shell ls lib/ManaTools/Shared/*.pm) \ - $(shell ls lib/ManaTools/Module/*.pm) $(shell ls lib/ManaTools/Rpmdragora/*.pm) \ - $(shell ls scripts/*) \ +PL_FILES = $(shell find lib/ManaTools/{Module,Shared,Rpmdragora} -type f -name "*.pm") \ + $(shell find scripts/ -type f -name "*") \ modules/rpmdragora/dragoraUpdate \ modules/rpmdragora/rpmdragora \ modules/rpmdragora/dragora-urpm-addmedia \ @@ -109,7 +108,7 @@ PL_FILES = $(shell ls lib/ManaTools/*.pm) $(shell ls lib/ManaTools/Shared/*.pm) #XMLFILES? -POFILES = $(shell ls po/*.po) +POFILES = $(shell find po/ -name "*.po") MOFILES = $(POFILES:%.po=%.mo) LANGS = $(POFILES:po/%.po=%) |