[gnome-builder] library-template: Conditionally add po to SUBDIRS if enable_i18n is true



commit 51b5eb15d4875f57d1aa146f14cd79de4201dec4
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Sun Jan 31 11:11:45 2016 +0100

    library-template: Conditionally add po to SUBDIRS if enable_i18n is true
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761356

 .../library_template/shared-library/Makefile.am    |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/plugins/library-template/library_template/shared-library/Makefile.am 
b/plugins/library-template/library_template/shared-library/Makefile.am
index 0e76cd7..50c11e4 100644
--- a/plugins/library-template/library_template/shared-library/Makefile.am
+++ b/plugins/library-template/library_template/shared-library/Makefile.am
@@ -1,4 +1,10 @@
-SUBDIRS = data po src
+SUBDIRS = \
+       data \
+{{if enable_i18n}}
+       po \
+{{end}}
+       src \
+       $(NULL)
 
 EXTRA_DIST = AUTHORS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]