qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PATCH] po/Makefile: Fix source path for in-tree builds


From: Stefan Weil
Subject: [Qemu-trivial] [PATCH] po/Makefile: Fix source path for in-tree builds
Date: Fri, 18 Apr 2014 13:55:31 +0200

Use an absolute value for SRC_PATH. This fixes a build problem:

$ LANG=C make -C po update
make: Entering directory `/qemu/po'
  GEN   ../po/messages.po
/bin/sh: 1: cannot create ../po/messages.po: Directory nonexistent
make: *** [../po/messages.po] Error 2
make: Leaving directory `/qemu/po'

Signed-off-by: Stefan Weil <address@hidden>
---
 po/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/po/Makefile b/po/Makefile
index 705166e..576b172 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -2,7 +2,7 @@
 # process and also within the source tree to update the translation files.
 
 # Set SRC_PATH for in-tree builds without configuration.
-SRC_PATH=..
+SRC_PATH=$(shell cd .. && pwd)
 
 -include ../config-host.mak
 include $(SRC_PATH)/rules.mak
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]