summaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-08-15 14:18:07 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-08-21 19:20:51 +0200
commit47493e60fa2f8f520297969472dde01931530707 (patch)
tree75695993b4d953131a1f580fa4cb362e4f1ab70a /docs/man
parent2f29ebbb6f8c914f2bba624f3edcc259274df8af (diff)
downloadhaskell-47493e60fa2f8f520297969472dde01931530707.tar.gz
Build system: simplify install.mk.in
This will allow fixing #1851 more easily ("make install-strip" should work). This reverts 57e2a81c589103b50da80a9e378b1a11285bd521: "On Cygwin, use a Cygwin-style path for /bin/install's destination" Update submodule haddock and hsc2hs.
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/ghc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/man/ghc.mk b/docs/man/ghc.mk
index 0c1014b452..470bd9ad34 100644
--- a/docs/man/ghc.mk
+++ b/docs/man/ghc.mk
@@ -49,9 +49,9 @@ install: install_man
.PHONY: install_man
install_man: $(MAN_PATH)
- $(call INSTALL_DIR,"$(DESTDIR)$(mandir)")
- $(call INSTALL_DIR,"$(DESTDIR)$(mandir)/man$(MAN_SECTION)")
- $(call INSTALL_MAN,$(INSTALL_OPTS),$(MAN_PATH),"$(DESTDIR)$(mandir)/man$(MAN_SECTION)")
+ $(INSTALL_DIR) "$(DESTDIR)$(mandir)"
+ $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man$(MAN_SECTION)"
+ $(INSTALL_MAN) $(INSTALL_OPTS) $(MAN_PATH) "$(DESTDIR)$(mandir)/man$(MAN_SECTION)"
endif
$(eval $(call clean-target,docs/man,,$(MAN_PATH) docs/man/flags.xsl docs/man/flags.xml))