Skip to content

Commit

Permalink
"make install" should never compile things
Browse files Browse the repository at this point in the history
It's a bad idea to run the compiler with sudo, and it's not what people expect.
  • Loading branch information
hugomg committed Aug 9, 2024
1 parent 17ab186 commit a04d767
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Build
run: |
sudo make install
make all && sudo make install
- name: Install Busted
run: luarocks --local install busted
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ tests: library \

all: library examples tests

install: pt-run ptracer.h
install:
$(INSTALL_EXEC) pt-run $(BINDIR)
$(INSTALL_DATA) ptracer.h $(INCDIR)

Expand Down

0 comments on commit a04d767

Please sign in to comment.