From ba457c8395073a0b02fdf4fdcb1c6ecd256e081a Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Wed, 13 Apr 2011 13:06:05 +0200 Subject: build: add an all-installable target that builds the targets to install. This is useful for distributions that don't want to build content that won't be installed. Signed-off-by: Christopher Li --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3d259eed..4feaa138 100644 --- a/Makefile +++ b/Makefile @@ -118,7 +118,9 @@ SED_PC_CMD = 's|@version@|$(VERSION)|g; \ all: $(PROGRAMS) sparse.pc -install: $(INST_PROGRAMS) $(LIBS) $(LIB_H) sparse.pc +all-installable: $(INST_PROGRAMS) $(LIBS) $(LIB_H) sparse.pc + +install: all-installable $(Q)install -d $(DESTDIR)$(BINDIR) $(Q)install -d $(DESTDIR)$(LIBDIR) $(Q)install -d $(DESTDIR)$(MAN1DIR) -- cgit 1.2.3-korg