diff options
| author | Diego Elio Pettenò <flameeyes@gmail.com> | 2011-04-13 13:06:05 +0200 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2011-04-18 03:22:39 -0700 |
| commit | ba457c8395073a0b02fdf4fdcb1c6ecd256e081a (patch) | |
| tree | 6b014b24c291646c354489d94fe244cf36b960bc /Makefile | |
| parent | ce870b5e305bf4f4422b1a82d75b6c73271981fa (diff) | |
| download | sparse-dev-ba457c8395073a0b02fdf4fdcb1c6ecd256e081a.tar.gz | |
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 <sparse@chrisli.org>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |
