From 407d5d22698e65738efcec812df08a636e6700a2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 5 Nov 2011 10:28:33 +0100 Subject: gettext is in i18n now, has nothing to do with porting --- include/GNUmakefile | 8 ++++++++ include/wolf/log/log.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/GNUmakefile b/include/GNUmakefile index f8ccbc0..606ec83 100644 --- a/include/GNUmakefile +++ b/include/GNUmakefile @@ -9,10 +9,14 @@ local_clean: -@rm -f wolf/*~ -@rm -f wolf/port/*.bak -@rm -f wolf/port/*~ + -@rm -f wolf/i18n/*.bak + -@rm -f wolf/i18n/*~ -@rm -f wolf/log/*.bak -@rm -f wolf/log/*~ -@rm -f wolf/daemon/*.bak -@rm -f wolf/daemon/*~ + -@rm -f wolf/threads/*.bak + -@rm -f wolf/threads/*~ -@rm -f wolf/library/*.bak -@rm -f wolf/library/*~ @@ -21,6 +25,10 @@ local_install: $(INSTALL) -m 644 wolf/*.h $(includedir)/wolf $(INSTALL) -d -m 755 $(includedir)/wolf/port $(INSTALL) -m 644 wolf/port/*.h $(includedir)/wolf/port +ifeq "$(ENABLE_NLS)" "1" + $(INSTALL) -d -m 755 $(includedir)/wolf/i18n + $(INSTALL) -m 644 wolf/threads/*.h $(includedir)/wolf/i18n +endif $(INSTALL) -d -m 755 $(includedir)/wolf/log $(INSTALL) -m 644 wolf/log/*.h $(includedir)/wolf/log $(INSTALL) -d -m 755 $(includedir)/wolf/daemon diff --git a/include/wolf/log/log.h b/include/wolf/log/log.h index e8f1878..cc3e376 100644 --- a/include/wolf/log/log.h +++ b/include/wolf/log/log.h @@ -19,8 +19,8 @@ #define WOLF_LOG_H #include "port/stdbool.h" /* for bool */ -#include "port/gettext.h" /* for _ */ #include "port/string.h" /* for strlcpy */ +#include "i18n/gettext.h" /* for _ */ /** * @addtogroup wolf_log Logging -- cgit v1.2.3-54-g00ecf