[project @ 2002-02-14 15:14:02 by simonmar]
authorsimonmar <unknown>
Thu, 14 Feb 2002 15:14:02 +0000 (15:14 +0000)
committersimonmar <unknown>
Thu, 14 Feb 2002 15:14:02 +0000 (15:14 +0000)
Fixes to 'make install' in fptools/libraries.  We have to maintain the
directory structure when installing the .hi files, rather than just
dumping them in a single directory as we do for packages in
fptools/hslibs.

cbits/Makefile
include/Makefile

index 14b18d4..5eda815 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 2002/02/14 14:05:48 simonmar Exp $
+# $Id: Makefile,v 1.7 2002/02/14 15:14:02 simonmar Exp $
 
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
@@ -9,7 +9,6 @@ ifneq "$(HavePosixRegex)" "YES"
 ALL_DIRS      += regex
 SRC_CC_OPTS   += -Iregex
 EXCLUDED_SRCS += regex/engine.c
-INSTALL_DATAS += regex/regex.h
 endif
 
 EXCLUDED_SRCS += ilxstubs.c
index 617e229..3784558 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.1 2001/08/17 12:47:47 simonmar Exp $
+# $Id: Makefile,v 1.2 2002/02/14 15:14:02 simonmar Exp $
 
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
@@ -9,5 +9,8 @@ H_FILES = $(wildcard *.h)
 override datadir:=$(libdir)/include
 INSTALL_DATAS = $(H_FILES)
 
-include $(TOP)/mk/target.mk
+ifneq "$(HavePosixRegex)" "YES"
+INSTALL_DATAS += ../cbits/regex/regex.h
+endif
 
+include $(TOP)/mk/target.mk