mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Luca Barbato <lu_zero@gentoo.org>
To: musl@lists.openwall.com
Subject: [PATCH 3/3] makefile: split install target
Date: Thu, 16 Aug 2012 18:18:07 +0200	[thread overview]
Message-ID: <1345133887-4041-3-git-send-email-lu_zero@gentoo.org> (raw)
In-Reply-To: <1345133887-4041-1-git-send-email-lu_zero@gentoo.org>

Introduce install-headers, install-libs, install-tools
---
 Makefile |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 9d43559..6beb42c 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ LDSO_PATHNAME = $(syslibdir)/ld-musl-$(ARCH).so.1
 
 all: $(ALL_LIBS) $(ALL_TOOLS)
 
-install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%) $(ALL_TOOLS:tools/%=$(DESTDIR)$(bindir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME),)
+install: install-libs install-headers install-tools
 
 clean:
 	$(RM) crt/*.o
@@ -151,6 +151,14 @@ $(DESTDIR)$(LDSO_PATHNAME): $(DESTDIR)$(syslibdir)
 $(DESTDIR)$(syslibdir):
 	$(INSTALL) -d -m 755 $(DESTDIR)$(syslibdir)
 
+install-libs: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME),)
+
+install-headers: $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%)
+
+install-tools: $(ALL_TOOLS:tools/%=$(DESTDIR)$(bindir)/%)
+
+
+
 .PRECIOUS: $(CRT_LIBS:lib/%=crt/%)
 
-.PHONY: all clean install
+.PHONY: all clean install install-libs install-headers install-tools
-- 
1.7.8.rc1



  parent reply	other threads:[~2012-08-16 16:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16 16:18 [PATCH 1/3] makefile: add silent rules Luca Barbato
2012-08-16 16:18 ` [PATCH 2/3] cosmetic: remove trailing whitespace Luca Barbato
2012-08-16 16:18 ` Luca Barbato [this message]
2012-08-17 23:33   ` [PATCH 3/3] makefile: split install target Rich Felker
2012-08-16 16:51 ` [PATCH 1/3] makefile: add silent rules orc
2012-08-16 17:05   ` Luca Barbato
2012-08-16 23:03 ` idunham
2012-08-16 23:06   ` Gregor Richards
2012-08-17  0:10   ` Luca Barbato
2012-08-17  1:21     ` Rich Felker
  -- strict thread matches above, loose matches on Subject: below --
2012-06-13  5:22 Build system tweaks Luca Barbato
2012-06-13  5:22 ` [PATCH 3/3] makefile: split install target Luca Barbato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1345133887-4041-3-git-send-email-lu_zero@gentoo.org \
    --to=lu_zero@gentoo.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).