From: Apollon Oikonomopoulos <apoikos@debian.org>
To: stgt@vger.kernel.org
Cc: Apollon Oikonomopoulos <apoikos@debian.org>
Subject: [PATCH] doc: install targets.conf(5) as well
Date: Wed, 7 Jun 2017 00:52:30 +0300 [thread overview]
Message-ID: <20170606215230.25215-1-apoikos@debian.org> (raw)
doc/Makefile would only install section 8 manpages. Extend this to
include targets.conf(5) as well.
Signed-off-by: Apollon Oikonomopoulos <apoikos@debian.org>
---
doc/Makefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/doc/Makefile b/doc/Makefile
index 0516dc8..4af9d54 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -2,7 +2,8 @@ mandir ?= $(PREFIX)/share/man
docdir ?= $(PREFIX)/share/doc/tgt
MANPAGES = manpages/tgtadm.8 manpages/tgt-admin.8 manpages/tgtimg.8 \
- manpages/tgt-setup-lun.8 manpages/tgtd.8
+ manpages/tgt-setup-lun.8 manpages/tgtd.8 \
+ manpages/targets.conf.5
DOCS = README.iscsi README.iser \
README.lu_configuration README.mmc tmf.txt \
@@ -21,8 +22,9 @@ all: xmlman xmlhtml
.PHONY: install
install: $(MANPAGES) $(DOCS)
- install -d -m 755 $(DESTDIR)$(mandir)/man8
- install -m 644 $(MANPAGES) $(DESTDIR)$(mandir)/man8
+ install -d -m 755 $(DESTDIR)$(mandir)/man8 $(DESTDIR)$(mandir)/man5
+ install -m 644 $(filter %.8,$(MANPAGES)) $(DESTDIR)$(mandir)/man8
+ install -m 644 $(filter %.5,$(MANPAGES)) $(DESTDIR)$(mandir)/man5
install -d -m 755 $(DESTDIR)$(docdir)
install -m 644 $(DOCS) $(DESTDIR)$(docdir)
install -d -m 755 $(DESTDIR)$(docdir)/html
--
2.11.0
next reply other threads:[~2017-06-06 21:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 21:52 Apollon Oikonomopoulos [this message]
2017-06-06 23:52 ` [PATCH] doc: install targets.conf(5) as well FUJITA Tomonori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170606215230.25215-1-apoikos@debian.org \
--to=apoikos@debian.org \
--cc=stgt@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).