summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNate Straz <nstraz@redhat.com>2008-07-08 20:38:13 +0000
committerNathan Straz <nstraz@redhat.com>2008-09-23 09:37:47 -0400
commit7af9afb54119d9afd23945f5ef92915454aeba2e (patch)
treeb54d03be6dd46debf085815eaa12fef8f9a9cc42
parent21899d76b350709a06d9ebcb9cb50052e7ebe567 (diff)
downloadqarsh-7af9afb54119d9afd23945f5ef92915454aeba2e.tar.gz
qarsh-7af9afb54119d9afd23945f5ef92915454aeba2e.tar.xz
qarsh-7af9afb54119d9afd23945f5ef92915454aeba2e.zip
Add man pages to the build.v1.18-2
-rw-r--r--Makefile15
-rw-r--r--qarsh.spec7
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.