From c0047ca332d4fba8f3197ce453869a87a5606cd5 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Fri, 8 Apr 2011 03:05:57 +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. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 99b50bd..1f2b2b6 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,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 v1.2.3-65-gdbad