[project @ 2002-06-20 16:11:45 by simonmar]
authorsimonmar <unknown>
Thu, 20 Jun 2002 16:11:45 +0000 (16:11 +0000)
committersimonmar <unknown>
Thu, 20 Jun 2002 16:11:45 +0000 (16:11 +0000)
use $(includedir) and INSTALL_INCLUDES rather than overriding $(datadir)

include/Makefile

index 3784558..ad4522d 100644 (file)
@@ -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