From: simonmar Date: Thu, 20 Jun 2002 16:11:45 +0000 (+0000) Subject: [project @ 2002-06-20 16:11:45 by simonmar] X-Git-Tag: nhc98-1-18-release~969 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=e54a0e9341cc1f8f82ad041d5d34094587cb73c7;p=haskell-directory.git [project @ 2002-06-20 16:11:45 by simonmar] use $(includedir) and INSTALL_INCLUDES rather than overriding $(datadir) --- diff --git a/include/Makefile b/include/Makefile index 3784558..ad4522d 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,16 +1,16 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.2 2002/02/14 15:14:02 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) ifneq "$(HavePosixRegex)" "YES" -INSTALL_DATAS += ../cbits/regex/regex.h +INSTALL_INCLUDES += ../cbits/regex/regex.h endif include $(TOP)/mk/target.mk