From 77f0b16beb65a165d4c93cfb13b409970db88913 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 May 1996 16:26:58 +0000 Subject: (INSTALLED_LOCAL_HEADERS): slight fixup --- Makeconf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makeconf') diff --git a/Makeconf b/Makeconf index 3d9e2ca7..a9c94974 100644 --- a/Makeconf +++ b/Makeconf @@ -143,8 +143,13 @@ install: $(addprefix $(libdir)/,$(targets)) $(addprefix $(includedir)/$(installh # it never needs to be repeated for a particular header. INSTALLED_LOCAL_HEADERS=$(addprefix $(top_srcdir)/$(installhdrsubdir)/,$(installhdrs)) libs: $(INSTALLED_LOCAL_HEADERS) +ifeq ($(installhdrsubdir),.) +$(INSTALLED_LOCAL_HEADERS): $(top_srcdir)/$(installhdrsubdir)/%: + ln -s $(dir)/$* $@ +else $(INSTALLED_LOCAL_HEADERS): $(top_srcdir)/$(installhdrsubdir)/%: ln -s ../$(dir)/$* $@ +endif $(libdir)/$(libname).a: $(libname).a $(INSTALL_DATA) $(libname).a $(libdir)/$(libname).a -- cgit v1.2.3