Skip to content

Commit

Permalink
Install r2svd with symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Sep 30, 2024
1 parent 57f3c15 commit 5ef0b34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions r2svd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ clean:
rm -rf cmsis-svd

install:
cp -f r2svd.py $(BINDIR)/r2svd
chmod +x $(BINDIR)/r2svd
$(MAKE) uninstall
ln -fs "$(shell pwd)/r2svd.py" "$(BINDIR)/r2svd"
chmod +x "$(BINDIR)/r2svd"

uninstall:
rm -f $(BINDIR)/r2svd.py
rm -f $(BINDIR)/r2svd
Empty file modified r2svd/r2svd.py
100644 → 100755
Empty file.

0 comments on commit 5ef0b34

Please sign in to comment.