changeset 671:3e03da73a514 trunk

[svn] install HEADERS properly (oops)
author nenolod
date Fri, 24 Feb 2006 12:34:42 -0800
parents c72fde5918ae
children 00f023a7ccd5
files mk/objective.mk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mk/objective.mk	Thu Feb 23 18:56:34 2006 -0800
+++ b/mk/objective.mk	Fri Feb 24 12:34:42 2006 -0800
@@ -10,7 +10,7 @@
 
 LIBDIR = $(libdir)
 BINDIR = $(bindir)
-INCLUDEDIR = $(includedir)
+INCLUDEDIR = $(pkgincludedir)
 CFLAGS += -DHAVE_CONFIG_H
 
 default: all
@@ -36,7 +36,7 @@
 	@if test "$(HEADERS)" != "none"; then \
 		for i in $(HEADERS); do \
 			printf "%10s     %-20s\n" INSTALL $$i; \
-			$(INSTALL) $(INSTALL_OVERRIDE) $$i $(DESTDIR)/$(INCLUDEDIR)/$$i; \
+			$(INSTALL_DATA) $(INSTALL_OVERRIDE) $$i $(DESTDIR)/$(INCLUDEDIR)/$$i; \
 		done; \
 	fi
 	@if test "$(OBJECTIVE_LIBS)" != "none"; then \