[project @ 2005-02-01 00:52:20 by ross]
[ghc-base.git] / include / Makefile
index 3784558..5fe9734 100644 (file)
@@ -1,16 +1,17 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.2 2002/02/14 15:14:02 simonmar Exp $
+# $Id: Makefile,v 1.5 2005/02/01 00:52:22 ross Exp $
 
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
+-include ../config.mk
 
 H_FILES = $(wildcard *.h)
 
-override datadir:=$(libdir)/include
-INSTALL_DATAS = $(H_FILES)
+includedir = $(libdir)/include
+INSTALL_INCLUDES = $(H_FILES)
 
 ifneq "$(HavePosixRegex)" "YES"
-INSTALL_DATAS += ../cbits/regex/regex.h
+INSTALL_INCLUDES += ./regex/regex.h
 endif
 
 include $(TOP)/mk/target.mk