Skip to contentSkip to conversation

realtime/lib: Fix includes in Makefile

PATCH In review Sedat Dilek 2 participants 3 messages Jan 16, 2013 – Jan 21, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 realtime/lib: Fix includes in Makefile

On a freshly cloned ltp-git source-dir and with ltp-full-20130109, executing 'make distclean' fails with these errors:

testcases/realtime/lib/Makefile:25: ../../../../config.mk: No such file or directory make[2]: *** No rule to make target `../../../../config.mk'. Stop.

The patch fixes the issue by using env_pre.mk to include config.mk from the correct location.

Tested with ltp-full-20130109 and ltp-git (20130109-5-g385d792).

---
 testcases/realtime/lib/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/realtime/lib/Makefile +2 -1
index 8860549..fbbb873 100644
@@ -22,7 +22,8 @@
 
 top_srcdir		?= ../../..
 
-include $(top_srcdir)/../config.mk
+include $(top_srcdir)/include/mk/env_pre.mk
+include $(abs_srcdir)/../config.mk
 
 CFLAGS			+= -D_GNU_SOURCE
 
Signature · 13 lines
1.8.1.1


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw

Hi!

Quoted 18 lines

testcases/realtime/lib/Makefile:25: ../../../../config.mk: No such file or directory make[2]: *** No rule to make target `../../../../config.mk'. Stop.

The patch fixes the issue by using env_pre.mk to include config.mk from the correct location.

Tested with ltp-full-20130109 and ltp-git (20130109-5-g385d792).

---
 testcases/realtime/lib/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/realtime/lib/Makefile +0 -0
index 8860549..fbbb873 100644

testcases/realtime/lib/Makefile line 28

Quoted 8 lines
testcases/realtime/lib/Makefile +2 -1
@@ -22,7 +22,8 @@
 
 top_srcdir		?= ../../..
 
-include $(top_srcdir)/../config.mk
+include $(top_srcdir)/include/mk/env_pre.mk
+include $(abs_srcdir)/../config.mk
 
 CFLAGS			+= -D_GNU_SOURCE

I do have similar patch for this issue I've haven't commited yet (I've asked for review and the issue faded away).

Thanks for reminding, I'll fix this.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#2 lore raw

Hi!

Quoted 4 lines

I do have similar patch for this issue I've haven't commited yet (I've asked for review and the issue faded away).

Thanks for reminding, I'll fix this.

Commited.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list