[med-svn] [aragorn] 08/12: automate manpage building

Sascha Steinbiss satta at debian.org
Sun Jul 3 07:55:16 UTC 2016


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

satta pushed a commit to branch master
in repository aragorn.

commit 56a06e255313feb8aa128ef2f2baffa16524623f
Author: Sascha Steinbiss <satta at debian.org>
Date:   Sun Jul 3 07:41:15 2016 +0000

    automate manpage building
---
 debian/changelog | 1 +
 debian/rules     | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e07c708..20b23f6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ aragorn (1.2.37-1) UNRELEASED; urgency=medium
   * Drop patch applied by upstream.
   * Update uploader email.
   * Bump Standards-Version.
+  * Automate manpage building.
 
  -- Sascha Steinbiss <satta at debian.org>  Sun, 03 Jul 2016 07:28:54 +0000
 
diff --git a/debian/rules b/debian/rules
index 7fad4da..167ccf2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,10 +13,12 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 	dh $@
 
 override_dh_auto_clean:
-	rm -f aragorn
+	rm -f aragorn aragorn.1
 
 override_dh_auto_build:
 	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Os -o aragorn *.c
+	asciidoctor -a docdate='' -b manpage manpage.1.src
+
 
 override_dh_auto_install:
 	mkdir -p $(DESTDIR)/usr/bin

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



More information about the debian-med-commit mailing list