summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-01-17 19:26:03 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-17 23:40:42 +0100
commitd1ce1aa9beed4d3ecd3a0324ae4c98625fbe8d33 (patch)
tree526f0adb67b6670944cadcaf24a704dcf82dfce3 /rules
parentae1c48c60abdfb134de7e247df851da101f0dd96 (diff)
downloadhaskell-d1ce1aa9beed4d3ecd3a0324ae4c98625fbe8d33.tar.gz
users-guide: Clean manpage build artifacts and fix usage of clean-target
Test Plan: Build then clean Reviewers: austin, thomie Reviewed By: thomie Differential Revision: https://phabricator.haskell.org/D1786 GHC Trac Issues: #11433
Diffstat (limited to 'rules')
-rw-r--r--rules/sphinx.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/sphinx.mk b/rules/sphinx.mk
index 5a3c7ce747..7337242762 100644
--- a/rules/sphinx.mk
+++ b/rules/sphinx.mk
@@ -22,7 +22,7 @@ $(call profStart, sphinx($1,$2))
# $1 = dir
# $2 = docname
-$(call clean-target,$1,sphinx,$1/.doctrees-html/ $1/.doctrees-pdf/ $1/build-html/ $1/build-pdf/ $1/$2.pdf)
+$(eval $(call clean-target,$1,sphinx,$1/.doctrees-html/ $1/.doctrees-pdf/ $1/build-html/ $1/build-pdf/ $1/$2.pdf))
# empty "all_$1" target just in case we're not building docs at all
$(call all-target,$1,)