Make the doc index page obey DESTDIR
[ghc.git] / docs / Makefile
1 TOP = ..
2 include $(TOP)/mk/boilerplate.mk
3
4 SUBDIRS = man docbook-cheat-sheet ext-core storage-mgt users_guide
5
6 PAGES = index.html
7
8 install-docs :: $(PAGES)
9 $(INSTALL_DIR) $(DESTDIR)$(htmldir)
10 $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(DESTDIR)$(htmldir)
11
12 include $(TOP)/mk/target.mk