aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2005-12-29 15:53:44 -0800
committerH. Peter Anvin <hpa@zytor.com>2005-12-29 15:53:44 -0800
commit935231582df16d2e73c9de98078d82d71cd392e2 (patch)
tree34796bb651de762e834f9d686b0992baa007bd60
parent1f908c7cae97768a4f12135018c55d9053f0e3ef (diff)
downloadlibucd-935231582df16d2e73c9de98078d82d71cd392e2.tar.gz
Actually handle the include file for "make install"libucd-0.1.2
-rw-r--r--MCONFIG1
-rw-r--r--Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/MCONFIG b/MCONFIG
index 9771ba9..06813e4 100644
--- a/MCONFIG
+++ b/MCONFIG
@@ -23,3 +23,4 @@ INSTALL_DATA = $(INSTALL) -m 644
prefix = /usr/local
libdir = $(prefix)/lib
mandir = $(prefix)/man
+includedir = $(prefix)/include
diff --git a/Makefile b/Makefile
index fd53cda..1d25df2 100644
--- a/Makefile
+++ b/Makefile
@@ -61,8 +61,8 @@ distclean: clean
install: all
mkdir -p $(INSTALLROOT)$(libdir)
$(INSTALL_LIB) $(LIB_FILE) $(SO_FILE) $(SO_NAME) $(INSTALLROOT)$(libdir)
- mkdir -p $(INSTALLROOT)$(installdir)
- $(INSTALL_DATA) ucd.h $(INSTALLROOT)$(installdir)
+ mkdir -p $(INSTALLROOT)$(includedir)
+ $(INSTALL_DATA) ucd.h $(INSTALLROOT)$(includedir)
mkdir -p $(INSTALLROOT)$(mandir)/man3
$(INSTALL_DATA) *.3 $(INSTALLROOT)$(mandir)/man3