From 0e2d40d73c0ae403cb7e20c653fc23759f775a42 Mon Sep 17 00:00:00 2001
From: Asad Salman <me@asad.co>
Date: Sat, 8 Jul 2017 05:36:42 +0500
Subject: [PATCH] nodejs: fix build error

Moved 'build/Release/dring.node' from BUILT_SOURCES to CLEANFILES
This fixed the build error where compiler could not find rule to make target

Change-Id: I6a2dd573894c8003489fcac5011229be2b1c7fa3
---
 bin/nodejs/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/nodejs/Makefile.am b/bin/nodejs/Makefile.am
index ffd5e9c7bd..bc18443eb5 100644
--- a/bin/nodejs/Makefile.am
+++ b/bin/nodejs/Makefile.am
@@ -3,7 +3,6 @@ include $(top_srcdir)/globals.mk
 BUILT_SOURCES= \
 	ring_wrapper.cpp \
 	build/Makefile \
-	build/Release/dring.node \
 	build/Release/obj.target/dring.node
 
 ring_wrapper.cpp: nodejs_interface.i configurationmanager.i managerimpl.i
@@ -16,4 +15,5 @@ build/Release/obj.target/dring.node: build/Makefile ring_wrapper.cpp callback.h
 	node-gyp build
 
 CLEANFILES= \
-	$(BUILT_SOURCES)
+	$(BUILT_SOURCES) \
+	build/Release/dring.node
-- 
GitLab