Skip to content

Commit

Permalink
rules.mk: Fix parallel build for 'make install'
Browse files Browse the repository at this point in the history
install-bins was missing a dependency on the binaries themselves.

Signed-off-by: Patrick Williams <[email protected]>
  • Loading branch information
williamspatrick committed Jun 21, 2016
1 parent b0d0a74 commit df417fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ all: $(DEFAULT_ALL)
$(BINS): %: %.o $(EXTRA_OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@$(BIN_SUFFIX) $^ $(LDLIBS)

install-bins:
install-bins: $(BINS)
@mkdir -p $(DESTDIR)$(sbindir)
@for b in $(BINS); do \
install $$b$(BIN_SUFFIX) $(DESTDIR)$(sbindir) || exit 1; \
Expand Down

0 comments on commit df417fd

Please sign in to comment.