don't forget to remove html-docs as part of 'make clean'
[ghc-hetmet.git] / libraries / Makefile
index b6d8ede..db51a67 100644 (file)
@@ -31,7 +31,11 @@ SUBDIRS += $(wildcard mtl)
 SUBDIRS += $(wildcard fgl)
 SUBDIRS += $(wildcard X11)
 SUBDIRS += $(wildcard time)
+ifeq "$(Windows)" "NO"
+# HGL is not working on Win32, so omit it for now.  Better not to ship it
+# at all than to ship a broken version.
 SUBDIRS += $(wildcard HGL)
+endif
 SUBDIRS += $(wildcard OpenGL)
 SUBDIRS += $(wildcard GLUT)
 SUBDIRS += $(wildcard OpenAL)
@@ -57,6 +61,9 @@ ifneq "$(NO_HADDOCK_DOCS)" "YES"
 
 HTML_DIR = html-docs
 
+extraclean ::
+       $(RM) -rf $(HTML_DIR)
+
 # ATTENTION, incomprehensible shell stuff ahead: Automagically create the
 # prologue for the combined index via a header, the package prologues (in
 # alphabetical order of the packages) and a footer. Not very nice, but much