Skip to content

Commit

Permalink
GNUmakefile: make install target depend on all target
Browse files Browse the repository at this point in the history
  • Loading branch information
nmeum committed May 21, 2020
1 parent e8449c2 commit 0fae7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ lib/insomnia-tail: LDFLAGS += -pthread
lib/insomnia-%: lib/insomnia-%.c
$(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)

install: $(TARGETS) README.md
install: all
install -dm755 "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(LIBDIR)" "$(DESTDIR)$(DATADIR)"
install -Dm755 $(BINFILES) "$(DESTDIR)$(BINDIR)"
install -Dm755 $(LIBFILES) "$(DESTDIR)$(LIBDIR)"
Expand Down

0 comments on commit 0fae7d2

Please sign in to comment.