X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=include%2FMakefile;h=69bca7e2ae9d6ddaae9a8270832c868789a6a3f5;hb=66681b296084bc3683cab50986402e5da27f5912;hp=3784558cf491ba103b81ab92e184af97c5fb6366;hpb=7dae72bf8bf76e9085930bfe402d5d2d1a2875b2;p=ghc-base.git diff --git a/include/Makefile b/include/Makefile index 3784558..69bca7e 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,16 +1,19 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.2 2002/02/14 15:14:02 simonmar Exp $ +# $Id: Makefile,v 1.6 2005/03/02 16:39:57 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 +DIST_CLEAN_FILES += HsBaseConfig.h + include $(TOP)/mk/target.mk