[Kimchi-devel] [PATCH 01/11] help i18n: Update Makefile to refeclt new languages.

Aline Manera alinefm at linux.vnet.ibm.com
Fri Sep 19 14:39:39 UTC 2014


I needed to revert this change as the autogen.sh was failing in a clean 
system:

[alinefm at alinefm kimchi]$ sudo ./autogen.sh --system
ui/pages/help/Makefile.am:17: error: required directory 
ui/pages/help/$(dir does not exist
ui/pages/help/Makefile.am:17: error: required directory 
ui/pages/help/$(wildcard does not exist
ui/pages/help/Makefile.am:17: error: required directory 
ui/pages/help/*/)) does not exist
ui/pages/help/Makefile.am:17: error: required directory 
ui/pages/help/$(dir does not exist
ui/pages/help/Makefile.am:17: error: required directory 
ui/pages/help/$(wildcard does not exist
ui/pages/help/Makefile.am:17: error: required directory 
ui/pages/help/*/)) does not exist
autoreconf: automake failed with exit status: 1

Seems the wildcard is not accepted on SUBDIRS

Paulo, could you check it and send a new patch?

On 09/16/2014 10:51 PM, Paulo Vital wrote:
> Updated Makefile to support new languages.
>
> Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
> ---
>   ui/pages/help/Makefile.am | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ui/pages/help/Makefile.am b/ui/pages/help/Makefile.am
> index fa9786b..d6f2c88 100644
> --- a/ui/pages/help/Makefile.am
> +++ b/ui/pages/help/Makefile.am
> @@ -14,7 +14,7 @@
>   # License along with this library; if not, write to the Free Software
>   # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
>
> -SUBDIRS = en_US pt_BR zh_CN
> +SUBDIRS = $(dir $(wildcard */))
>
>   DITA_HTML_FILES = $(patsubst %.dita,%.html,$(wildcard */*.dita))
>   HTML_FILES = $(if $(DITA_HTML_FILES), $(DITA_HTML_FILES), $(wildcard */*.html))




More information about the Kimchi-devel mailing list