Skip to contentSkip to conversation

doc: install targets.conf(5) as well

PATCH Applied Apollon Oikonomopoulos 2 participants 2 messages Jun 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: install targets.conf(5) as well

doc/Makefile would only install section 8 manpages. Extend this to include targets.conf(5) as well.

---
 doc/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
doc/Makefile +5 -3
index 0516dc8..4af9d54 100644
@@ -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
Signature · 1 line
2.11.0