aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatteo <matteo.pasotti@gmail.com>2015-04-25 15:25:08 +0200
committermatteo <matteo.pasotti@gmail.com>2015-04-25 15:25:08 +0200
commit3fe4551df5f825213c266a2a2b8aad3adecd4507 (patch)
tree877c344c15e92113ae1f35c5bd68b92f76f0ff98
parent97e54cd337bd3af78ca04530e122b214c1f69588 (diff)
downloadcolin-keep-3fe4551df5f825213c266a2a2b8aad3adecd4507.tar
colin-keep-3fe4551df5f825213c266a2a2b8aad3adecd4507.tar.gz
colin-keep-3fe4551df5f825213c266a2a2b8aad3adecd4507.tar.bz2
colin-keep-3fe4551df5f825213c266a2a2b8aad3adecd4507.tar.xz
colin-keep-3fe4551df5f825213c266a2a2b8aad3adecd4507.zip
use find instead of ls and use a more compact syntax
-rw-r--r--Makefile.PL7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 3ac5cd5..447a136 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=%)