X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=include%2FMakefile;h=ad4522d3c3b82e08e07171bba5224ffcd1275ad5;hb=b6ef4d7236a944f4ffed7aaa0fa8fcfe18cb77b9;hp=617e229b586e4d60bc0d89eb5ac4b04cc1ac5913;hpb=63d6a6635e0d8ff6058552d3ae5fe526067317d7;p=ghc-base.git diff --git a/include/Makefile b/include/Makefile index 617e229..ad4522d 100644 --- a/include/Makefile +++ b/include/Makefile @@ -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