diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 16:26:58 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 16:26:58 +0000 |
commit | 77f0b16beb65a165d4c93cfb13b409970db88913 (patch) | |
tree | 1ef1fa640e20a9784e6133aadffa383079cd1bb5 /Makeconf | |
parent | 3a555d5be70bc8c3c9118ec89aec9dacc77f26bc (diff) |
(INSTALLED_LOCAL_HEADERS): slight fixup
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |