From dfff1a0d82ea9c6bff9a3a394f4f48c31dfc9ec7 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 30 Aug 2015 12:00:25 +0300 Subject: [PATCH] Use pandoc to generate manpage --- debian/clean | 1 + debian/control | 2 +- debian/fdkaac.manpages | 2 +- debian/rules | 4 ++++ 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 debian/clean diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..931fff5 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +fdkaac.1 diff --git a/debian/control b/debian/control index 10214ac..25d0138 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: fdkaac Section: contrib/sound Priority: optional Maintainer: Marius Gavrilescu -Build-Depends: debhelper (>= 9), dh-autoreconf, libfdk-aac-dev +Build-Depends: debhelper (>= 9), dh-autoreconf, libfdk-aac-dev, pandoc Standards-Version: 3.9.6 Homepage: https://github.com/nu774/fdkaac Vcs-Git: http://git.ieval.ro/git/fdkaac.git diff --git a/debian/fdkaac.manpages b/debian/fdkaac.manpages index 2436d0e..931fff5 100644 --- a/debian/fdkaac.manpages +++ b/debian/fdkaac.manpages @@ -1 +1 @@ -man/fdkaac.1 +fdkaac.1 diff --git a/debian/rules b/debian/rules index ef6a718..906cafb 100755 --- a/debian/rules +++ b/debian/rules @@ -4,3 +4,7 @@ include /usr/share/dpkg/default.mk %: dh $@ --with autoreconf + +override_dh_auto_build: + pandoc -s -f markdown -t man README >fdkaac.1 + dh_auto_build -- 2.39.2