From d369b0302c54133d5571756ea8100e93605d75fc Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sun, 16 Jul 2023 13:15:16 +1200 Subject: [PATCH] Install the man page! Also move to section 8, as we're installing into /usr/sbin . --- ChangeLog | 2 ++ Makefile | 2 ++ man/{mythtv-update-motd.1 => mythtv-update-motd.8} | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) rename man/{mythtv-update-motd.1 => mythtv-update-motd.8} (98%) diff --git a/ChangeLog b/ChangeLog index 6b368f0..71b35b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,8 @@ Update the "Why this tool?" section in the README. + Actually install the mythtv-update-motd man page! + 2001-02-14 Andrew Ruthven Release version 1.0.2. diff --git a/Makefile b/Makefile index 7904fa8..77300f1 100755 --- a/Makefile +++ b/Makefile @@ -67,10 +67,12 @@ upload: $(RELEASE_FILES) install: install -d $(BINDIR) install -d $(MANDIR)/man1 + install -d $(MANDIR)/man8 install -m 775 bin/mythtv-status $(BINDIR) install -m 775 bin/mythtv_recording_now $(BINDIR) install -m 775 bin/mythtv_recording_soon $(BINDIR) pod2man bin/mythtv-status > $(MANDIR)/man1/mythtv-status.1 + install -m 644 man/mythtv-update-motd.8 $(MANDIR)/man8 install -m 644 man/mythtv_recording_now.1 $(MANDIR)/man1 install -m 644 man/mythtv_recording_soon.1 $(MANDIR)/man1 diff --git a/man/mythtv-update-motd.1 b/man/mythtv-update-motd.8 similarity index 98% rename from man/mythtv-update-motd.1 rename to man/mythtv-update-motd.8 index 60f22f8..6b4cd0d 100644 --- a/man/mythtv-update-motd.1 +++ b/man/mythtv-update-motd.8 @@ -2,7 +2,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH MYTHTV-UPDATE-MOTD 1 "2018-12-31" +.TH MYTHTV-UPDATE-MOTD 8 "2018-12-31" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: -- 2.30.2