projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d4a7ecf
)
Make the manpage obey DESTDIR
author
Ian Lynagh
<igloo@earth.li>
Fri, 31 Aug 2007 01:42:53 +0000
(
01:42
+0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 31 Aug 2007 01:42:53 +0000
(
01:42
+0000)
docs/man/Makefile
patch
|
blob
|
history
diff --git
a/docs/man/Makefile
b/docs/man/Makefile
index
45de743
..
ab20fde
100644
(file)
--- a/
docs/man/Makefile
+++ b/
docs/man/Makefile
@@
-30,8
+30,8
@@
flags.xml: ../users_guide/flags.xml
tail -n +2 $< >> $@
install-docs:: $(MAN_PAGE).$(MAN_SECTION)
tail -n +2 $< >> $@
install-docs:: $(MAN_PAGE).$(MAN_SECTION)
- $(INSTALL_DIR) $(mandir)
- $(INSTALL_DIR) $(mandir)/man$(MAN_SECTION)
- $(INSTALL_MAN) $(INSTALL_OPTS) $(MAN_PAGE).$(MAN_SECTION) $(mandir)/man$(MAN_SECTION)
+ $(INSTALL_DIR) $(DESTDIR)$(mandir)
+ $(INSTALL_DIR) $(DESTDIR)$(mandir)/man$(MAN_SECTION)
+ $(INSTALL_MAN) $(INSTALL_OPTS) $(MAN_PAGE).$(MAN_SECTION) $(DESTDIR)$(mandir)/man$(MAN_SECTION)
include $(TOP)/mk/target.mk
include $(TOP)/mk/target.mk