From 7af9afb54119d9afd23945f5ef92915454aeba2e Mon Sep 17 00:00:00 2001 From: Nate Straz Date: Tue, 8 Jul 2008 20:38:13 +0000 Subject: Add man pages to the build. --- Makefile | 15 +++++++++++++-- qarsh.spec | 7 ++++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ee94fde..cde5b0b 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,11 @@ install: all install -D btimed $(INSTROOT)/usr/sbin/btimed install -D btimec $(INSTROOT)/usr/bin/btimec install -D btimed.xinetd $(INSTROOT)/etc/xinetd.d/btimed + install -D qarsh.1 $(INSTROOT)/usr/share/man/man1/qarsh.1 + install -D qacp.1 $(INSTROOT)/usr/share/man/man1/qacp.1 + install -D btimec.1 $(INSTROOT)/usr/share/man/man1/btimec.1 + install -D qarshd.8 $(INSTROOT)/usr/share/man/man8/qarshd.8 + install -D btimed.8 $(INSTROOT)/usr/share/man/man8/btimed.8 clean: $(RM) $(TARGETS) @@ -34,9 +39,15 @@ ifdef DIST RPMDEFS := -D "dist $(DIST)" endif -qarsh-$(VERSION).tar.bz2: qarsh.spec +tarfiles := qarsh.spec Makefile +tarfiles += $(wildcard *.c *.h) +tarfiles += qarsh.1 qacp.1 btimec.1 +tarfiles += qarshd.8 btimed.8 +tarfiles += *.xinetd + +qarsh-$(VERSION).tar.bz2: $(tarfiles) -rm $@ - tar cjf $@ . + tar cjf $@ $^ tarball: qarsh-$(VERSION).tar.bz2 diff --git a/qarsh.spec b/qarsh.spec index f36e4fc..27dff9b 100644 --- a/qarsh.spec +++ b/qarsh.spec @@ -1,7 +1,7 @@ Summary: QA Remote Shell Name: qarsh Version: 1.18 -Release: 1%{?dist} +Release: 2%{?dist} Group: QA License: GPL Buildroot: %{_tmppath}/%{name}-%{version}-root @@ -59,6 +59,7 @@ fi /usr/bin/qarsh /usr/bin/qacp /usr/bin/btimec +%doc %{_mandir}/man1/* %files server %defattr(-,root,root) @@ -66,8 +67,12 @@ fi /usr/sbin/btimed %config /etc/xinetd.d/qarsh %config /etc/xinetd.d/btimed +%doc %{_mandir}/man8/* %changelog +* Tue Jul 08 2008 1.18-2 +- Include new man pages. + * Tue Jul 08 2008 1.18-1 - Make sure we process all output after the command exits. -- cgit