aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-30 16:42:26 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-30 17:09:01 +0200
commitd24838d4da9faadee5fa954bbcee7a75bb43d12b (patch)
tree12808c785573f1d322ffbd463afd0242b902c1b7 /src
parent0362c778418a7c0594dae5537f91247ca1dae289 (diff)
make: build the docs subdir only from within src
... and don't build at all in include Prompted-by-work-by: Simon Warta Ref: #1590 Closes #1591
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7b4835953..861668467 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -43,6 +43,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \
bin_PROGRAMS = curl
+SUBDIRS = ../docs
+
if USE_CPPFLAG_CURL_STATICLIB
AM_CPPFLAGS += -DCURL_STATICLIB
endif
@@ -81,7 +83,6 @@ libcurltool_la_LDFLAGS = -static $(LINKFLAGS)
libcurltool_la_SOURCES = $(curl_SOURCES)
endif
-BUILT_SOURCES = tool_hugehelp.c
CLEANFILES = tool_hugehelp.c
# Use the C locale to ensure that only ASCII characters appear in the
# embedded text.
@@ -101,9 +102,6 @@ HUGE=tool_hugehelp.c
if USE_MANUAL
# Here are the stuff to create a built-in manual
-$(MANPAGE):
- cd $(top_builddir)/docs && $(MAKE)
-
if HAVE_LIBZ
# This generates the tool_hugehelp.c file in both uncompressed and
# compressed formats.