From 3fe4551df5f825213c266a2a2b8aad3adecd4507 Mon Sep 17 00:00:00 2001 From: matteo Date: Sat, 25 Apr 2015 15:25:08 +0200 Subject: use find instead of ls and use a more compact syntax --- Makefile.PL | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile.PL') 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=%) -- cgit v1.2.1