Skip to contentSkip to conversation

Add man pages

PATCH Applied Allen Martin 2 participants 2 messages Oct 8, 2015 1 message not in the archive Tegra architecture support

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Add man pages

Add man pages for cbootimge(1) and bct_dump(1)

---
 .gitignore          |  5 ++++
 src/Makefile.am     | 17 +++++++++++
 src/bct_dump.1.in   | 53 +++++++++++++++++++++++++++++++++
 src/cbootimage.1.in | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 159 insertions(+)
 create mode 100644 src/bct_dump.1.in
 create mode 100644 src/cbootimage.1.in
.gitignore +5 -0
index b879c34bd28c..91c964c69654 100644
@@ -20,3 +20,8 @@ Makefile.in
 /install-sh
 /missing
 /stamp-h1
+
+src/bct_dump.1
+src/bct_dump.man
+src/cbootimage.1
+src/cbootimage.man
src/Makefile.am +17 -0
index 64c4ea52b8e2..285f9dbd629c 100644
@@ -84,3 +84,20 @@ bct_dump_SOURCES = \
 	t132/nvboot_sdram_param_t132.h \
 	t210/nvboot_bct_t210.h \
 	t210/nvboot_sdram_param_t210.h
+
+man_MANS = cbootimage.1 bct_dump.1
+
+EXTRA_DIST = cbootimage.1.in bct_dump.1.in
+DISTCLEANFILES = cbootimage.1 cbootimage.man bct_dump.1 bct_dump.man
+
+cbootimage.1: $(srcdir)/cbootimage.1.in
+	sed 's|VERSION|$(VERSION)|g' $< >$@
+
+cbootimage.man: $(srcdir)/cbootimage.1
+	nroff -man $< >$@
+
+bct_dump.1: $(srcdir)/bct_dump.1.in
+	sed 's|VERSION|$(VERSION)|g' $< >$@
+
+bct_dump.man: $(srcdir)/bct_dump.1
+	nroff -man $< >$@
src/bct_dump.1.in new file +53 -0

53 lines not on this page · raw message

src/cbootimage.1.in new file +84 -0

84 lines not on this page · raw message

Signature · 1 line
1.9.1