Commit 152b04596c33e5d512bdc1e7cf56a0b0f2855698

marcelo 2003-03-12T11:44:34

Fix blooper with include file installation; the include files were moved to 'include', I noticed, but forgot to update the Makefile

diff --git a/unix/src/Makefile b/unix/src/Makefile
index 9c9912d..b281b94 100644
--- a/unix/src/Makefile
+++ b/unix/src/Makefile
@@ -60,6 +60,8 @@ HEADERS =			\
 	FTVector.h		\
 	FTVectoriser.h
 
+HEADER_FILES = $(addprefix $(top_srcdir)/include/,$(HEADERS))
+
 LOBJS = $(patsubst %.cpp,%.lo,$(SRCS))
 OBJS = $(patsubst %.cpp,%.$(OBJEXT),$(SRCS))
 
@@ -74,7 +76,7 @@ install-local: libftgl.la
 	$(INSTALL) -d -m 0755 $(libdir)
 	$(LIBTOOL) --mode=install $(INSTALL) -m 0644 $(TARGET) $(libdir)
 	$(INSTALL) -d -m 0755 $(includedir)
-	$(INSTALL) -m 0644 $(addprefix $(VPATH)/,$(HEADERS)) $(includedir)
+	$(INSTALL) -m 0644 $(HEADER_FILES) $(includedir)
 
 clean-local:
 	$(RM) $(ALL_OBJS)