From 8b232c5ef5e4ce8cfa4c6ca599ac59bf3a4d056a Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Thu, 15 Apr 2021 02:01:28 +0000 Subject: [PATCH] Add man page to packages Refs #6 --- Makefile | 1 + packaging/debian/lume.manpages | 1 + packaging/rpm/lume.spec | 1 + 3 files changed, 3 insertions(+) create mode 100644 packaging/debian/lume.manpages diff --git a/Makefile b/Makefile index 66cf911..9e2adf6 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,7 @@ deb: $(Q) echo "3.0 (quilt)" > $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/source/format $(Q) cp $(DEBTMPLDIR)/control $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/control $(Q) cp $(DEBTMPLDIR)/copyright $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/copyright + $(Q) cp $(DEBTMPLDIR)/lume.manpages $(DEBBUILDDIR)/$(DEBORIGSRCDIR)/debian/lume.manpages $(Q) cd $(DEBBUILDDIR)/$(DEBORIGSRCDIR) && dpkg-buildpackage -us -uc $(Q) mv $(DEBBUILDDIR)/*.dsc $(BUILDDIR) $(Q) mv $(DEBBUILDDIR)/*.changes $(BUILDDIR) diff --git a/packaging/debian/lume.manpages b/packaging/debian/lume.manpages new file mode 100644 index 0000000..edf6e11 --- /dev/null +++ b/packaging/debian/lume.manpages @@ -0,0 +1 @@ +lume.1 diff --git a/packaging/rpm/lume.spec b/packaging/rpm/lume.spec index 9f199ef..bb00846 100644 --- a/packaging/rpm/lume.spec +++ b/packaging/rpm/lume.spec @@ -25,6 +25,7 @@ Source: %{name}-%{version}.tar.xz %{_bindir}/lume %license LICENSE /usr/share/lume/lumerc +%doc %{_mandir}/man1/lume.1.* %changelog