summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
-rw-r--r--doc/Makefile7
2 files changed, 4 insertions, 7 deletions
diff --git a/configure b/configure
index 1e138fa9dc..a83b1f0f21 100755
--- a/configure
+++ b/configure
@@ -1228,7 +1228,6 @@ EXTERNAL_LIBRARY_LIST="
"
DOCUMENT_LIST="
- doc
htmlpages
manpages
podpages
@@ -2295,7 +2294,6 @@ podpages_deps="perl"
manpages_deps="perl pod2man"
htmlpages_deps="texi2html"
txtpages_deps="makeinfo"
-doc_deps_any="manpages htmlpages podpages txtpages"
# default parameters
@@ -4376,7 +4374,7 @@ enabled sdl && add_cflags $sdl_cflags && add_extralibs $sdl_libs
texi2html --help 2> /dev/null | grep -q 'init-file' && enable texi2html || disable texi2html
makeinfo --version > /dev/null 2>&1 && enable makeinfo || disable makeinfo
-perl --version > /dev/null 2>&1 && enable perl || disable perl
+perl -v > /dev/null 2>&1 && enable perl || disable perl
pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man
rsync --help 2> /dev/null | grep -q 'contimeout' && enable rsync_contimeout || disable rsync_contimeout
diff --git a/doc/Makefile b/doc/Makefile
index 50a68b4e05..405f639349 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -36,9 +36,8 @@ DOCS-$(CONFIG_MANPAGES) += $(MANPAGES)
DOCS-$(CONFIG_TXTPAGES) += $(TXTPAGES)
DOCS = $(DOCS-yes)
-all-$(CONFIG_DOC): doc
-
doc: documentation
+all: $(DOCS)
apidoc: doc/doxy/html
documentation: $(DOCS)
@@ -95,7 +94,7 @@ install-html:
install-man:
ifdef CONFIG_HTMLPAGES
-install-progs-$(CONFIG_DOC): install-html
+install-progs: install-html
install-html: $(HTMLPAGES)
$(Q)mkdir -p "$(DOCDIR)"
@@ -103,7 +102,7 @@ install-html: $(HTMLPAGES)
endif
ifdef CONFIG_MANPAGES
-install-progs-$(CONFIG_DOC): install-man
+install-progs: install-man
install-man: $(MANPAGES)
$(Q)mkdir -p "$(MANDIR)/man1"