Skip to content

Commit

Permalink
Install manpage if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed May 14, 2024
1 parent bffaa3a commit 227e1f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@ vectordb:
install user-install:
ln -fs $(PWD)/main.py $(R2_USER_PLUGINS)/r2ai.py
ln -fs $(PWD)/r2ai.sh $(R2PM_BINDIR)/r2ai
-mkdir -p /usr/local/share/man/man1/r2ai.1
-cp doc/usage/r2ai.1 /usr/local/share/man/man1/r2ai.1
$(MAKE) -C native/cxx user-uninstall

uninstall user-uninstall:
rm -f $(R2_USER_PLUGINS)/r2ai.py
rm -f $(R2PM_BINDIR)/r2ai
-rm -f /usr/local/share/man/man1/r2ai.1

pub:
$(PYTHON) setup.py build sdist
Expand Down

0 comments on commit 227e1f0

Please sign in to comment.