diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-06-30 16:42:26 +0200 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-08-22 15:29:37 +0000 |
commit | fac8cccd8a92504dfc54217bd616868afd6db5cc (patch) | |
tree | 63449397f829323b3415d7fb4d86b1dcc1f068ac /src | |
parent | fbcc8f36cc8a84fe9256e77600270eb3cd9eab5c (diff) | |
download | gnurl-fac8cccd8a92504dfc54217bd616868afd6db5cc.tar.gz gnurl-fac8cccd8a92504dfc54217bd616868afd6db5cc.tar.bz2 gnurl-fac8cccd8a92504dfc54217bd616868afd6db5cc.zip |
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.am | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index def1047d7..e9b1ae87d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -43,6 +43,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \ bin_PROGRAMS = gnurl +SUBDIRS = ../docs + if USE_CPPFLAG_CURL_STATICLIB AM_CPPFLAGS += -DCURL_STATICLIB endif @@ -82,7 +84,6 @@ libcurltool_la_LDFLAGS = -static $(LINKFLAGS) libcurltool_la_SOURCES = $(gnurl_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. |