Fixed builds from a directory outside of the sourcetree.
[captive.git] / Makefile.am
index ee1f71f..80ad619 100644 (file)
@@ -63,7 +63,7 @@ EXTRA_DIST+= \
                build-static
 
 ROS_CVS:= \
-               $(foreach rosdir,$(REACTOS_SOURCES),$(shell find $(rosdir) -name CVS -type d))
+               $(foreach rosdir,$(REACTOS_SOURCES),$(shell find $(srcdir)/$(rosdir) -name CVS -type d))
 
 BUILT_SOURCES+= \
                $(ROS_CVS)