--- a/errors/Makefile.am +++ b/errors/Makefile.am @@ -12,7 +12,7 @@ DEFAULT_ERROR_DIR = $(errordir) DEFAULT_STYLESHEET = $(datadir)/errorpage.css # List of automated translations possible: -TRANSLATIONS=`ls -1 $(top_srcdir)/errors/*.po | grep -o -E "[a-z\-]+\.po" | sed s/.po//` +TRANSLATIONS=`cd $(top_srcdir)/errors/ ; find . -maxdepth 1 -mindepth 1 -type d | sed "s|./||"` install-data-local: for l in $(TRANSLATIONS) templates; do \