summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-01-15 16:35:38 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-15 16:35:40 +0100
commit7cf16aaf6d08a6be7f4c4a20b8684d61e1ee3163 (patch)
tree8167ff461433e4d1131779394c7731f005ca961f
parente7eec3a1c6ec46dc5b0d9d84c8a894b6f7e27f63 (diff)
downloadhaskell-7cf16aaf6d08a6be7f4c4a20b8684d61e1ee3163.tar.gz
Don't output manpage in same directory as source
Test Plan: Validate Reviewers: austin, thomie, nomeata Differential Revision: https://phabricator.haskell.org/D1782 GHC Trac Issues: #11433
-rw-r--r--.gitignore1
-rw-r--r--docs/users_guide/ghc.mk4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 0455251c3a..5c2af906e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -98,6 +98,7 @@ _darcs/
/docs/users_guide/users_guide.pdf
/docs/users_guide/build-html
/docs/users_guide/build-pdf
+/docs/users_guide/build-man
/docs/users_guide/.doctrees-*
/docs/users_guide/.doctrees/
/driver/ghci/ghc-pkg-inplace
diff --git a/docs/users_guide/ghc.mk b/docs/users_guide/ghc.mk
index deb60a342f..83cf60a78e 100644
--- a/docs/users_guide/ghc.mk
+++ b/docs/users_guide/ghc.mk
@@ -23,11 +23,11 @@ html_docs/users_guide : docs/users_guide/images/prof_scc.svg
docs/users_guide_MAN_RST_SOURCES := docs/users_guide/ghc.rst
MAN_SECTION := 1
-MAN_PAGES := docs/users_guide/ghc.1
+MAN_PAGES := docs/users_guide/build-man/ghc.1
ifneq "$(BINDIST)" "YES"
$(MAN_PAGES): $(docs/users_guide_MAN_RST_SOURCES) $(utils/mkUserGuidePart_GENERATED_RST_SOURCES)
- $(SPHINXBUILD) -b man -d docs/users_guide/.doctrees-man docs/users_guide docs/users_guide
+ $(SPHINXBUILD) -b man -d docs/users_guide/.doctrees-man docs/users_guide docs/users_guide/build-man
endif
man : $(MAN_PAGES)