summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-09-19 21:09:37 +0000
committerThomas Bushnell <thomas@gnu.org>1996-09-19 21:09:37 +0000
commit4baf4590ae335f8b3787d4e73aed59992cdf3426 (patch)
treec73b3ca2d5aac28dc437677682b96a5162bb7a57 /Makeconf
parentc402994514e274ed5c13ce553fd2b9a365713f20 (diff)
*** empty log message ***
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf17
1 files changed, 7 insertions, 10 deletions
diff --git a/Makeconf b/Makeconf
index 34de75be..9b6a2b8f 100644
--- a/Makeconf
+++ b/Makeconf
@@ -138,15 +138,14 @@ BUGADDR_REF = -uargp_program_bug_address
# Installation
ifeq ($(doinst),one)
all: $(target)
-install: $(installationdir)/$(target)
-$(installationdir)/$(target): $(target) $(installationdir)
+install: $(installationdir) $(installationdir)/$(target)
+$(installationdir)/$(target): $(target)
$(INSTALL_PROGRAM) $(INSTALL-$<-ops) $< $@
endif
ifeq ($(doinst),many)
all: $(targets)
-install: $(addprefix $(installationdir)/,$(targets))
-$(addprefix $(installationdir)/,$(targets)): $(installationdir)
+install: $(installationdir) $(addprefix $(installationdir)/,$(targets))
$(addprefix $(installationdir)/,$(targets)): $(installationdir)/%: %
$(INSTALL_PROGRAM) $(INSTALL-$<-ops) $< $@
endif
@@ -155,9 +154,9 @@ ifeq ($(makemode),library)
all: libs
install libs: add-to-librecord
add-to-librecord: $(targets)
-install: $(addprefix $(libdir)/,$(targets)) $(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs))
+install: $(libdir) $(includedir)/$(installhdrsubdir) $(addprefix $(libdir)/,$(targets)) $(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs))
-install-headers: $(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs))
+install-headers: $(includedir)/$(installhdrsubdir) $(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs))
$(includedir)/$(installhdrsubdir): $(includedir)
$(MKINSTALLDIRS) $@
@@ -176,14 +175,12 @@ $(INSTALLED_LOCAL_HEADERS): $(top_srcdir)/$(installhdrsubdir)/%:
endif
libs: $(INSTALLED_LOCAL_HEADERS)
-$(libdir)/$(libname).a: $(libname).a $(libdir)
+$(libdir)/$(libname).a: $(libname).a
$(INSTALL_DATA) $(libname).a $(libdir)/$(libname).a
$(RANLIB) $(libdir)/$(libname).a
-$(libdir)/$(libname).so: $(libname).so $(libdir)
+$(libdir)/$(libname).so: $(libname).so
$(INSTALL_DATA) $(libname).so $(libdir)/$(libname).so
-$(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs)): $(includedir)/$(installhdrsubdir)
-
$(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs)): $(includedir)/$(installhdrsubdir)/%: %
$(INSTALL_DATA) $< $@