From: Marius Gavrilescu Date: Sun, 30 Aug 2015 09:00:25 +0000 (+0300) Subject: Use pandoc to generate manpage X-Git-Tag: debian/0.6.2-1~1 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=dfff1a0d82ea9c6bff9a3a394f4f48c31dfc9ec7;p=fdkaac.git Use pandoc to generate manpage --- 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