From cf170d957c022ec0e9125b5ac119d16084ebe875 Mon Sep 17 00:00:00 2001 From: James Vasile Date: Sun, 14 Jun 2015 18:01:06 -0400 Subject: [PATCH] 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. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 5e86dcf..1b68b8d 100644 --- a/Makefile +++ b/Makefile @@ -83,6 +83,16 @@ packages-macports: tools/mk_macports.vcs_blackbox.txt mkdir -p $(DESTDIR)/bin 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. #