From 62eb5f17bb4139ffdbb455dc3bddff976be36aec Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Tue, 11 Sep 2012 13:20:58 -0700 Subject: [PATCH] building and installing the HTML documentation --- debian/control | 2 +- debian/feedgnuplot.docs | 1 + debian/rules | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 debian/feedgnuplot.docs diff --git a/debian/control b/debian/control index 124db18..e96b7d4 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: feedgnuplot Section: science Priority: extra -Build-Depends: debhelper (>= 7), libtest-script-run-perl, perl +Build-Depends: debhelper (>= 7.0.50~), libtest-script-run-perl, perl Maintainer: Debian Science Maintainers Uploaders: Dima Kogan Standards-Version: 3.9.3 diff --git a/debian/feedgnuplot.docs b/debian/feedgnuplot.docs new file mode 100644 index 0000000..af5c576 --- /dev/null +++ b/debian/feedgnuplot.docs @@ -0,0 +1 @@ +feedgnuplot.html diff --git a/debian/rules b/debian/rules index 2d33f6a..5ad7a95 100755 --- a/debian/rules +++ b/debian/rules @@ -2,3 +2,11 @@ %: dh $@ + +override_dh_auto_build: + dh_auto_build + pod2html --title=feedgnuplot bin/feedgnuplot.pod > feedgnuplot.html + +override_dh_auto_clean: + rm -rf feedgnuplot.html + dh_auto_clean