From d4cc9db64d34d718eaa901bbabeb65cb1fa54e1f Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 21 Jun 2014 11:22:04 +0200 Subject: [PATCH] opts: fixed mancheck for out-of-tree builds --- docs/libcurl/opts/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/libcurl/opts/Makefile.am b/docs/libcurl/opts/Makefile.am index 11bbd5361aa69a..30851d33764f5a 100644 --- a/docs/libcurl/opts/Makefile.am +++ b/docs/libcurl/opts/Makefile.am @@ -320,4 +320,4 @@ pdf: $(PDFPAGES) echo "converted $< to $@") mancheck: - @ls `grep -v OBSOLETE $(top_srcdir)/include/curl/curl.h | awk -F, '/^ CINIT/ { a=substr($$1, 9); print "CURLOPT_" a ".3"}' ` \ No newline at end of file + @cd $(top_srcdir)/docs/libcurl/opts && ls `awk -F, '!/OBSOLETE/ && /^ CINIT/ { a=substr($$1, 9); print "CURLOPT_" a ".3"}' $(top_srcdir)/include/curl/curl.h`