diff --git a/nc_test/Makefile.am b/nc_test/Makefile.am index 5532ac72a..7817eb076 100644 --- a/nc_test/Makefile.am +++ b/nc_test/Makefile.am @@ -100,7 +100,7 @@ EXTRA_DIST += ref_tst_diskless2.cdl CMakeLists.txt #MAINTAINERCLEANFILES = test_get.c test_put.c all: - cp $(top_srcdir)/libsrc/ncx.c . + cp $(top_builddir)/libsrc/ncx.c . CLEANFILES += ncx.c