poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] man: add help2man target for poked


From: Mohammad-Reza Nabipoor
Subject: [PATCH] man: add help2man target for poked
Date: Thu, 19 Jan 2023 23:02:20 +0100

2023-01-19  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>

        * man/Makefile.am (man_MANS): Add poked.
        (poked.1): New rule to generate man page for poked.
---
 ChangeLog       | 5 +++++
 man/Makefile.am | 8 +++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index e09b742d..dcc0b542 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-19  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>
+
+       * man/Makefile.am (man_MANS): Add poked.
+       (poked.1): New rule to generate man page for poked.
+
 2023-01-19  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>
 
        * pickles/pdap.pk: New pickle for "PokeD Application Protocol".
diff --git a/man/Makefile.am b/man/Makefile.am
index 62ea8c0d..4f5a42cc 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -17,7 +17,7 @@
 
 if NATIVE_BUILD
 
-man_MANS = poke.1
+man_MANS = poke.1 poked.1
 
 EXTRA_DIST = $(man_MANS)
 MAINTAINERCLEANFILES = $(man_MANS)
@@ -35,4 +35,10 @@ poke.1: $(top_srcdir)/poke/poke.c $(common_mandeps)
          $(HELP2MAN) -p poke --name="The GNU extensible binary editor" \
              $(builddir)/../poke/poke$(EXEEXT) -o $(srcdir)/poke.1
 
+poked.1: $(top_srcdir)/poked/poked.c $(common_mandeps)
+       $(MAKE) $(AM_MAKEFLAGS) $(builddir)/../poked/poked$(EXEEXT)
+       $(top_builddir)/run \
+         $(HELP2MAN) -p poked --name="The poke daemon" -N \
+             $(builddir)/../poked/poked$(EXEEXT) -o $(srcdir)/poked.1
+
 endif
-- 
2.39.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]