Skip to content

Commit

Permalink
Mac SIP prevents manpages being installed
Browse files Browse the repository at this point in the history
  • Loading branch information
systemed committed Jan 15, 2024
1 parent ff55eea commit ab82368
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ install:
install -m 0755 -d $(DESTDIR)$(prefix)/bin/
install -m 0755 tilemaker $(DESTDIR)$(prefix)/bin/
install -m 0755 tilemaker-server $(DESTDIR)$(prefix)/bin/
install -m 0755 -d ${DESTDIR}${MANPREFIX}/man1/
install docs/man/tilemaker.1 ${DESTDIR}${MANPREFIX}/man1/
@install -m 0755 -d ${DESTDIR}${MANPREFIX}/man1/ || true
@install docs/man/tilemaker.1 ${DESTDIR}${MANPREFIX}/man1/ || true

clean:
rm -f tilemaker tilemaker-server src/*.o src/external/*.o include/*.o include/*.pb.h server/*.o test/*.o
Expand Down
4 changes: 3 additions & 1 deletion docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Then:
make
sudo make install

(System Integrity Protection on macOS prevents the manpages being installed. This isn't important: ignore the two lines saying "Operation not permitted".)

### Ubuntu

Start with:
Expand All @@ -22,7 +24,7 @@ Once you've installed those, then `cd` back to your Tilemaker directory and simp
make
sudo make install

If it fails, check that the LIB and INC lines in the Makefile correspond with your system, then try again.
If it fails, check that the LIB and INC lines in the Makefile correspond with your system, then try again. The above lines install Lua 5.1, but you can also choose any newer version.

### Fedora

Expand Down

0 comments on commit ab82368

Please sign in to comment.