Enable installation/removal via stow

fpm failed on my Debian box, so I used stow. I thought others might be
in the same boat, so here's a couple targets for the Makefile.
This commit is contained in:
James Vasile
2015-06-14 18:01:06 -04:00
parent 2a839f1520
commit cf170d957c

View File

@@ -83,6 +83,16 @@ packages-macports: tools/mk_macports.vcs_blackbox.txt
mkdir -p $(DESTDIR)/bin mkdir -p $(DESTDIR)/bin
cd tools && ./mk_macports mk_macports.vcs_blackbox.txt cd tools && ./mk_macports mk_macports.vcs_blackbox.txt
# stow is a pretty easy way to manage simple local installs on GNU systems
install-stow:
mkdir -p /usr/local/stow/blackbox/bin
cp bin/* /usr/local/stow/blackbox/bin
rm /usr/local/stow/blackbox/bin/Makefile
cd /usr/local/stow; stow -R blackbox
uninstall-stow:
cd /usr/local/stow; stow -D blackbox
rm -rf /usr/local/stow/blackbox
# Add other package types here. # Add other package types here.
# #