[Reproducible-commits] [koji] 05/05: Build manpages for server programs too

Ximin Luo infinity0 at debian.org
Fri Dec 4 10:24:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository koji.

commit 3c328096c14ea57e262786abc8c7f413e7a8b8bc
Author: Ximin Luo <infinity0 at debian.org>
Date:   Fri Dec 4 11:18:55 2015 +0100

    Build manpages for server programs too
---
 debian/control               | 10 ++++++++++
 debian/koji-servers.manpages |  5 +++++
 debian/rules                 | 13 +++++++++++--
 3 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index e69d9fe..68d1d7d 100644
--- a/debian/control
+++ b/debian/control
@@ -9,10 +9,18 @@ Build-Depends:
  debhelper (>= 9.0),
  dh-python,
  dh-systemd,
+ createrepo,
  help2man,
  pkg-config,
  python-all,
+ python-cheetah,
+ python-libvirt,
+ python-libxml2,
  python-openssl,
+ python-qpid,
+ python-rpm,
+ python-simplejson,
+ python-urlgrabber,
  rpm,
  systemd,
  yum,
@@ -84,6 +92,8 @@ Depends: python, ${misc:Depends}, ${python:Depends}, koji-common (= ${binary:Ver
  python-simplejson,
  python-urlgrabber,
  yum,
+Recommends: httpd
+Suggests: systemd
 Description: RPM-based build system - server components
  The Fedora Project uses Koji for their build system, as do several other
  projects.
diff --git a/debian/koji-servers.manpages b/debian/koji-servers.manpages
new file mode 100644
index 0000000..7a7fe8e
--- /dev/null
+++ b/debian/koji-servers.manpages
@@ -0,0 +1,5 @@
+debian/koji-gc.1
+debian/koji-shadow.1
+debian/kojid.1
+debian/kojira.1
+debian/kojivmd.1
diff --git a/debian/rules b/debian/rules
index d9c1141..709a180 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,23 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/default.mk
+
+H2M = PYTHONPATH=. help2man --no-info --version-string=$(DEB_VERSION_UPSTREAM)
+
 %:
 	dh $@ --with python2
 
 override_dh_auto_build:
 	dh_auto_build
-	PYTHONPATH=. help2man --no-info -n "RPM-based build system client" --version-string=1.10.0 ./cli/koji > debian/koji.1
+	$(H2M) -n "Koji build client" ./cli/koji > debian/koji.1
+	$(H2M) -n "Koji build daemon" ./builder/kojid > debian/kojid.1
+	$(H2M) -n "Garbage collection tool for Koji" ./util/koji-gc > debian/koji-gc.1
+	$(H2M) -n "Shadow builds between koji instances" ./util/koji-shadow > debian/koji-shadow.1
+	$(H2M) -n "Koji repository administrator" ./util/kojira > debian/kojira.1
+	$(H2M) -n "Koji virtual machine management daemon" ./vm/kojivmd > debian/kojivmd.1
 
 override_dh_auto_clean:
-	rm -f debian/koji.1
+	rm -f debian/koji*.1
 	dh_auto_clean
 
 override_dh_install:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/koji.git



More information about the Reproducible-commits mailing list