xorcat

Tool for testing xor keys on encrypted data
git clone git@sinitax.com:sinitax/xorcat
Log | Files | Refs | LICENSE | sfeed.txt

commit b3c2b55a6570dbee4b9428b009c18e3f30763381
parent 56be0a279f8c79ff895d2d8169d9500c4dc3fc4c
Author: Louis Burda <quent.burda@gmail.com>
Date:   Wed,  2 Nov 2022 13:48:53 +0100

Use PREFIX properly in Makefile

Diffstat:
MMakefile | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,5 +1,5 @@ -DESTDIR ?= -BINDIR ?= /usr/local/bin +PREFIX ?= /usr/local +BINDIR ?= /bin all: xorcat @@ -9,9 +9,9 @@ clean: xorcat: xorcat.c install: xorcat - install -m755 xorcat $(DESTDIR)$(BINDIR)/xorcat + install -m755 xorcat -t "$(DESTDIR)$(PREFIX)$(BINDIR)" uninstall: - rm $(DESTDIR)$(BINDIR)/xorcat + rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/xorcat" .PHONY: all clean install uninstall