aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-19 06:07:00 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-19 06:07:00 +0100
commit3b0e9dc5bd5f687cda0093310d3f4ab6cbd5f949 (patch)
tree199924cbae856c5a9249fed63cd091b40215ceeb
parentadd install and uninstall rules (diff)
downloadsha3sum-3b0e9dc5bd5f687cda0093310d3f4ab6cbd5f949.tar.gz
sha3sum-3b0e9dc5bd5f687cda0093310d3f4ab6cbd5f949.tar.bz2
sha3sum-3b0e9dc5bd5f687cda0093310d3f4ab6cbd5f949.tar.xz
fix installation dir for man pages, missed /man1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3e08d29..6b60f11 100644
--- a/Makefile
+++ b/Makefile
@@ -295,8 +295,8 @@ install-shake-man: $(foreach C,$(SHAKE_CMDS),install-$(C)-man)
.PHONY: install-%sum-man
install-%sum-man: bin/%sum.1
- install -dm755 -- "$(DESTDIR)$(MANDIR)"
- install -m644 -- $< "$(DESTDIR)$(MANDIR)/$*sum.1"
+ install -dm755 -- "$(DESTDIR)$(MANDIR)/man1"
+ install -m644 -- $< "$(DESTDIR)$(MANDIR)/man1/$*sum.1"
.PHONY: install-info
install-info: bin/sha3sum.info
@@ -329,7 +329,7 @@ uninstall:
-rm -- $(foreach C,$(CMDS),"$(DESTDIR)$(DATADIR)/bash-completion/completions/$(C)")
-rm -- $(foreach C,$(CMDS),"$(DESTDIR)$(DATADIR)/fish/completions/$(C).fish")
-rm -- $(foreach C,$(CMDS),"$(DESTDIR)$(DATADIR)/zsh/site-functions/_$(C)")
- -rm -- $(foreach C,$(CMDS),"$(DESTDIR)$(MANDIR)/$(C).1")
+ -rm -- $(foreach C,$(CMDS),"$(DESTDIR)$(MANDIR)/man1/$(C).1")
-rm -- "$(DESTDIR)$(INFODIR)/$(PKGNAME).info"
-rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf"
-rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).dvi"