git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH/RFCv4 4/4] gitweb: Add gitweb manpages to 'gitweb' package in git.spec

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 18, 2011, 13:34 UTC
Message-ID
<1316352884-26193-5-git-send-email-jnareb@gmail.com>
In-Reply-To
<1316352884-26193-1-git-send-email-jnareb@gmail.com>

This patch follows similar lines in %files section for 'gitk' and 'git-gui' subpackages.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
New in this version of series... though IIRC this change was present
in some version of those patches (probably not as separate patch,
though).
 git.spec.in |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/git.spec.in b/git.spec.in
index 91c8462..dfc5093 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -199,7 +199,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n gitweb
 %defattr(-,root,root)
+%doc Documentation/*gitweb*.txt
 %{_datadir}/gitweb
+%{!?_without_docs: %{_mandir}/man1/*gitweb*.1*}
+%{!?_without_docs: %{_mandir}/man5/*gitweb*.5*}
+%{!?_without_docs: %doc Documentation/*gitweb*.html }
 
 %files -n perl-Git -f perl-files
 %defattr(-,root,root)
@@ -208,6 +212,9 @@ rm -rf $RPM_BUILD_ROOT
 # No files for you!
 
 %changelog
+* Sun Sep 18 2011 Jakub Narebski <jnareb@gmail.com>
+- Add gitweb manpages to 'gitweb' subpackage
+
 * Wed Jun 30 2010 Junio C Hamano <gitster@pobox.com>
 - Add 'gitweb' subpackage.
 
-- 
1.7.6
Previous: Jakub Narebski
Message 12 of 12 in “Moving gitweb documentation to manpages”
  1. 0/4 Moving gitweb documentation to manpagesJakub Narebski, Sep 18, 2011
  2. 1/4 Documentation: Preparation for gitweb manpagesJakub Narebski, Sep 18, 2011
  3. Jonathan NiederSep 19, 2011
  4. Jakub NarebskiSep 20, 2011
  5. Jakub NarebskiSep 20, 2011
  6. Jonathan NiederSep 20, 2011
  7. Jakub NarebskiSep 20, 2011
  8. 2/4 gitweb: Add manpage for /etc/gitweb.conf (for gitweb documentation)Jakub Narebski, Sep 18, 2011
  9. Jonathan NiederSep 20, 2011
  10. Jakub NarebskiSep 22, 2011
  11. 3/4 gitweb: Add manpage for gitwebJakub Narebski, Sep 18, 2011
  12. 4/4 gitweb: Add gitweb manpages to 'gitweb' package in git.specJakub Narebski, Sep 18, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.