aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2017-10-15 20:35:03 +0200
committerGitHub <noreply@github.com>2017-10-15 20:35:03 +0200
commit22def554ae1f073ea51d000b01bc08b4010e677d (patch)
tree264fc3f891999dfa0f90e3e98e4673ed6d948c76 /Makefile
parentFix dependencies in makefile (diff)
parentMakefile: use "rm -f" upon cleaning and uninstalling (diff)
downloadsha3sum-22def554ae1f073ea51d000b01bc08b4010e677d.tar.gz
sha3sum-22def554ae1f073ea51d000b01bc08b4010e677d.tar.bz2
sha3sum-22def554ae1f073ea51d000b01bc08b4010e677d.tar.xz
Merge pull request #21 from thebombzen/master
Two minor fixes
Diffstat (limited to '')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c32e80c..fce9bfe 100644
--- a/Makefile
+++ b/Makefile
@@ -73,13 +73,12 @@ install: $(BIN) $(MAN1)
cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/sha3sum/"
uninstall:
- -cd -- "$(DESTDIR)$(PREFIX)/bin" && rm -- $(BIN)
- -cd -- "$(DESTDIR)$(MANPREFIX)/man1" && rm -- $(MAN1)
- -rm -- "$(DESTDIR)$(PREFIX)/share/licenses/sha3sum/LICENSE"
- -rmdir -- "$(DESTDIR)$(PREFIX)/share/licenses/sha3sum"
+ -cd -- "$(DESTDIR)$(PREFIX)/bin" && rm -f -- $(BIN)
+ -cd -- "$(DESTDIR)$(MANPREFIX)/man1" && rm -f -- $(MAN1)
+ -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/sha3sum"
clean:
- -rm -r -- $(MAN1) $(BIN) keccak-*sum.c sha3-*sum.c rawshake*sum.c shake*sum.c .testdir
+ -rm -rf -- $(MAN1) $(BIN) keccak-*sum.c sha3-*sum.c rawshake*sum.c shake*sum.c .testdir
.SUFFIXES: