Remove unnecessary mkdir and rename manpage

@install's -D flag will create any necessary parent directories.
Explicitly using mkdir leads to errors in the PKGBUILD because
$pkgdir/usr/share does not exist.
This commit is contained in:
Henry Nelson
2018-08-07 22:05:05 -04:00
parent 2c018760d0
commit b77540eb2b
2 changed files with 3 additions and 4 deletions

View File

@@ -5,7 +5,6 @@ BINDIR ?= $(PREFIX)/bin
install: install:
@install -Dm755 i3lock-fancy -t $(DESTDIR)$(BINDIR) @install -Dm755 i3lock-fancy -t $(DESTDIR)$(BINDIR)
@mkdir -m755 $(DESTDIR)$(SHRDIR)/$(PRGM)/icons
@install -Dm644 icons/* -t $(DESTDIR)$(SHRDIR)/$(PRGM)/icons @install -Dm644 icons/* -t $(DESTDIR)$(SHRDIR)/$(PRGM)/icons
@install -Dm644 doc/i3lock-fancy.1 -t $(DESTDIR)$(SHRDIR)/man/man1 @install -Dm644 doc/i3lock-fancy.1 -t $(DESTDIR)$(SHRDIR)/man/man1
@install -Dm644 LICENSE -t $(DESTDIR)$(SHRDIR)/licenses/$(PRGM) @install -Dm644 LICENSE -t $(DESTDIR)$(SHRDIR)/licenses/$(PRGM)

View File

@@ -1,7 +1,7 @@
.TH LOCK 1 2017-06-26 .TH I3LOCK-FANCY 1 2017-06-26
.SH NAME .SH NAME
.B lock .B i3lock-fancy
- Bash script around i3lock for fancy effect - Bash script around i3lock for fancy effect
.SH DESCRIPTION .SH DESCRIPTION
@@ -12,7 +12,7 @@ background.
.SH SYNOPSIS .SH SYNOPSIS
.B lock [options] .B i3lock-fancy [options]
.SH OPTIONS .SH OPTIONS