Update Makefile
This commit is contained in:
parent
cb04ac7531
commit
0b08ff046b
1 changed files with 4 additions and 12 deletions
16
Makefile
16
Makefile
|
@ -5,14 +5,9 @@ LIBEXECDIR = $(PREFIX)/libexec/portzap
|
||||||
SHAREDIR = $(PREFIX)/share/portzap
|
SHAREDIR = $(PREFIX)/share/portzap
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -d $(BINDIR) $(LIBEXECDIR) $(LIBEXECDIR)/commands $(LIBEXECDIR)/utils $(LIBEXECDIR)/setup $(SHAREDIR) $(MANDIR)
|
@find bin/ libexec/ share/ man/ -type d -exec install -v -d $(PREFIX)/"{}" \;
|
||||||
install -m 0755 bin/portzap $(BINDIR)
|
@find bin/ libexec/ -type f -exec install -v -m 0755 "{}" $(PREFIX)/"{}" \;
|
||||||
install -m 0755 bin/setup-portzap $(BINDIR)
|
@find share/ man/ -type f -exec install -v -m 0644 "{}" $(PREFIX)/"{}" \;
|
||||||
install -m 0755 libexec/portzap/commands/* $(LIBEXECDIR)/commands
|
|
||||||
install -m 0755 libexec/portzap/utils/* $(LIBEXECDIR)/utils
|
|
||||||
install -m 0755 libexec/portzap/setup/* $(LIBEXECDIR)/setup
|
|
||||||
install -m 0644 share/portzap/* $(SHAREDIR)
|
|
||||||
install -m 0644 man/man8/portzap.8 $(MANDIR)
|
|
||||||
|
|
||||||
deinstall:
|
deinstall:
|
||||||
rm $(BINDIR)/portzap
|
rm $(BINDIR)/portzap
|
||||||
|
@ -22,7 +17,4 @@ deinstall:
|
||||||
rm -rf $(SHAREDIR)
|
rm -rf $(SHAREDIR)
|
||||||
|
|
||||||
shellcheck:
|
shellcheck:
|
||||||
shellcheck bin/*
|
find bin/ libexec/ -type f -exec shellcheck "{}" \;
|
||||||
shellcheck libexec/portzap/utils/*
|
|
||||||
shellcheck libexec/portzap/commands/*
|
|
||||||
shellcheck libexec/portzap/setup/*
|
|
||||||
|
|
Loading…
Reference in a new issue