Browse Source

extra/locale/Makefile: Consider the case of building out of sourcedir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 13 years ago
parent
commit
0cc3811abd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      extra/locale/Makefile

+ 3 - 3
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