Compare commits
No commits in common. "main" and "0.0.2" have entirely different histories.
9 changed files with 16 additions and 1 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
PREFIX ?= /usr/local
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
SRCDIR ?= .
|
||||
|
||||
SCRIPTS := $(wildcard $(SRCDIR)/*.sh)
|
||||
|
||||
install:
|
||||
@mkdir -p $(BINDIR)
|
||||
for f in $(SCRIPTS); do \
|
||||
install -m 755 "$$f" "$(BINDIR)/$$(basename $$f .sh)"; \
|
||||
done
|
||||
|
||||
uninstall:
|
||||
for f in $(SCRIPTS); do \
|
||||
rm -f "$(BINDIR)/$$(basename $$f .sh)"; \
|
||||
done
|
||||
|
|
@ -1 +0,0 @@
|
|||
Thing
|
||||
Loading…
Add table
Add a link
Reference in a new issue