Compare commits
4 commits
ba02f11793
...
c56b470184
Author | SHA1 | Date | |
---|---|---|---|
c56b470184 | |||
59c799c047 | |||
dfb5fcc92a | |||
7c10eb0012 |
10 changed files with 9 additions and 23 deletions
14
Makefile
14
Makefile
|
@ -5,13 +5,9 @@ LIBEXECDIR = $(PREFIX)/libexec/sourcezap
|
|||
SHAREDIR = $(PREFIX)/share/sourcezap
|
||||
|
||||
install:
|
||||
install -d $(BINDIR) $(LIBEXECDIR) $(LIBEXECDIR)/commands $(LIBEXECDIR)/utils $(SHAREDIR) $(MANDIR)
|
||||
install -m 0755 bin/sourcezap $(BINDIR)
|
||||
install -m 0755 bin/setup-sourcezap $(BINDIR)
|
||||
install -m 0755 libexec/sourcezap/commands/* $(LIBEXECDIR)/commands
|
||||
install -m 0755 libexec/sourcezap/utils/* $(LIBEXECDIR)/utils
|
||||
install -m 0644 share/sourcezap/* $(SHAREDIR)
|
||||
install -m 0644 man/man8/sourcezap.8 $(MANDIR)
|
||||
@find bin/ libexec/ share/ -type d -exec install -v -d $(PREFIX)/"{}" \;
|
||||
@find bin/ libexec/ -type f -exec install -v -m 0755 "{}" $(PREFIX)/"{}" \;
|
||||
@find share/ man/ -type f -exec install -v -m 0644 "{}" $(PREFIX)/"{}" \;
|
||||
|
||||
deinstall:
|
||||
rm $(BINDIR)/sourcezap
|
||||
|
@ -21,6 +17,4 @@ deinstall:
|
|||
rm -rf $(SHAREDIR)
|
||||
|
||||
shellcheck:
|
||||
shellcheck bin/*
|
||||
shellcheck libexec/sourcezap/utils/*
|
||||
shellcheck libexec/sourcezap/commands/*
|
||||
find bin/ libexec/ -type f -exec shellcheck "{}" \;
|
||||
|
|
|
@ -11,7 +11,7 @@ branch=$2
|
|||
|
||||
##
|
||||
# functions
|
||||
. "${libexec}"/functions.sh
|
||||
. "${libexec}"/functions/print.sh
|
||||
|
||||
##
|
||||
# main
|
||||
|
|
|
@ -12,7 +12,7 @@ branch=$3
|
|||
|
||||
##
|
||||
# functions
|
||||
. "${libexec}"/functions.sh
|
||||
. "${libexec}"/functions/print.sh
|
||||
|
||||
##
|
||||
# main
|
||||
|
|
|
@ -13,7 +13,7 @@ revfile=$3
|
|||
|
||||
##
|
||||
# functions
|
||||
. "${libexec}"/functions.sh
|
||||
. "${libexec}"/functions/print.sh
|
||||
|
||||
perform_update()
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@ gitdir=$1
|
|||
|
||||
##
|
||||
# functions
|
||||
. "${libexec}"/functions.sh
|
||||
. "${libexec}"/functions/print.sh
|
||||
|
||||
##
|
||||
# main
|
||||
|
|
|
@ -10,7 +10,7 @@ installdir=$2
|
|||
|
||||
##
|
||||
# functions
|
||||
. "${libexec}"/functions.sh
|
||||
. "${libexec}"/functions/print.sh
|
||||
|
||||
erase()
|
||||
{
|
||||
|
|
|
@ -9,10 +9,6 @@ git="${libexec}"/utils/git/run
|
|||
gitdir=$1
|
||||
commit=$2
|
||||
|
||||
##
|
||||
# functions
|
||||
. "${libexec}"/functions.sh
|
||||
|
||||
##
|
||||
# main
|
||||
cd "${gitdir}"
|
||||
|
|
|
@ -9,10 +9,6 @@ git="${libexec}"/utils/git/run
|
|||
gitdir=$1
|
||||
commit=$2
|
||||
|
||||
##
|
||||
# functions
|
||||
. "${libexec}"/functions.sh
|
||||
|
||||
##
|
||||
# main
|
||||
cd "${gitdir}"
|
||||
|
|
Loading…
Reference in a new issue