[project @ 2003-07-24 12:05:42 by panne]
[haskell-directory.git] / include / Makefile
index 617e229..ad4522d 100644 (file)
@@ -1,13 +1,16 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.1 2001/08/17 12:47:47 simonmar Exp $
+# $Id: Makefile,v 1.3 2002/06/20 16:11:45 simonmar Exp $
 
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
 H_FILES = $(wildcard *.h)
 
-override datadir:=$(libdir)/include
-INSTALL_DATAS = $(H_FILES)
+includedir = $(libdir)/include
+INSTALL_INCLUDES = $(H_FILES)
 
-include $(TOP)/mk/target.mk
+ifneq "$(HavePosixRegex)" "YES"
+INSTALL_INCLUDES += ../cbits/regex/regex.h
+endif
 
+include $(TOP)/mk/target.mk