summaryrefslogtreecommitdiff
path: root/extra/locale/Makefile
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-12-18 21:08:58 -0800
committerKhem Raj <raj.khem@gmail.com>2010-12-18 21:08:58 -0800
commit0cc3811abda8152f406d5ebca191735cb7359075 (patch)
treeeb80db27ad5f325c16c10d512f0008e13cac9e14 /extra/locale/Makefile
parent9e5335ed874515b33aa296c1cd8e7a8b640472c9 (diff)
extra/locale/Makefile: Consider the case of building out of sourcedir
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'extra/locale/Makefile')
-rw-r--r--extra/locale/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/locale/Makefile b/extra/locale/Makefile
index 11f362a5e..ff229e20c 100644
--- a/extra/locale/Makefile
+++ b/extra/locale/Makefile
@@ -4,10 +4,10 @@
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-
top_srcdir=../../
-top_builddir=../../
+top_builddir=$(if $(O),$(O),../../)/
+
all: objs
-include $(top_builddir)Rules.mak
+include $(top_srcdir)Rules.mak
include Makefile.in
include $(top_srcdir)Makerules