summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2011-11-05 10:28:33 +0100
committerAndreas Baumann <abaumann@yahoo.com>2011-11-05 10:28:33 +0100
commit407d5d22698e65738efcec812df08a636e6700a2 (patch)
treefb66b5d61045e8e2fc269e87ea373813248ed2c9 /include
parentcc8367f974cc1c3b8d8f301c7916231135414d63 (diff)
downloadwolfbones-407d5d22698e65738efcec812df08a636e6700a2.tar.gz
wolfbones-407d5d22698e65738efcec812df08a636e6700a2.tar.bz2
gettext is in i18n now, has nothing to do with porting
Diffstat (limited to 'include')
-rw-r--r--include/GNUmakefile8
-rw-r--r--include/wolf/log/log.h2
2 files changed, 9 insertions, 1 deletions
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