Fix initialisation of strictness in the demand analyser
[ghc-hetmet.git] / docs / Makefile
1 TOP = ..
2 include $(TOP)/mk/boilerplate.mk
3
4 SUBDIRS = man docbook-cheat-sheet users_guide ext-core storage-mgt
5
6 PAGE = index.html
7
8 install-docs :: $(PAGE)
9         $(INSTALL_DIR)                          $(DESTDIR)$(htmldir)
10         $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGE) $(DESTDIR)$(htmldir)
11
12 .PHONY: binary-dist binary-dist.doc.%
13
14 binary-dist: $(foreach SUBDIR,$(SUBDIRS),binary-dist.doc.$(SUBDIR))
15 ifeq "$(WHERE_AM_I)" ""
16         echo "I don't know where I am" >&2
17         exit 1
18 endif
19         echo $(WHERE_AM_I)/Makefile >> $(BIN_DIST_LIST)
20         echo $(WHERE_AM_I)/$(PAGE)  >> $(BIN_DIST_LIST)
21
22 $(foreach SUBDIR,$(SUBDIRS),binary-dist.doc.$(SUBDIR)): \
23 binary-dist.doc.%:
24         $(MAKE) -C $* binary-dist WHERE_AM_I=$(WHERE_AM_I)/$*
25
26 include $(TOP)/mk/target.mk