Skip to content

Commit

Permalink
Create missing bin directory in DESTDIR
Browse files Browse the repository at this point in the history
When build is being executed, the /usr/bin directory is not present by default.
Create it, if it is missing.
  • Loading branch information
xambroz authored May 30, 2020
1 parent fd33b7e commit 919d762
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ install:

# copy whatweb into LIBPATH/NAME/ and create a symbolic link in the BINPATH
install -p $(INSTALLD) -m 755 $(NAME) $(DESTDIR)$(LIBPATH)/$(NAME)
install -d $(DESTDIR)$(BINPATH)
ln -s $(DESTDIR)$(LIBPATH)/$(NAME)/$(NAME) $(DESTDIR)$(BINPATH)/$(NAME)

cp -p -r my-plugins $(DESTDIR)$(LIBPATH)/$(NAME)/
Expand Down

0 comments on commit 919d762

Please sign in to comment.