summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-09-26 20:16:03 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-09-26 20:16:03 -0700
commitca335b5abeb76e804171bb7d17a2d0323f651ec4 (patch)
treedc203536b9c8fc795879e9d571d4389c585508cd /debian
parent63641c5be3c55fbbdf7c292c4a9b4deb8cc114ec (diff)
rebuild and install new HTML manual
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rw-r--r--debian/docs1
-rwxr-xr-xdebian/rules14
3 files changed, 18 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 5f74c5f..17980f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ebib (2.7.2-1) UNRELEASED; urgency=medium
+
+ * New upstream release.
+ * Rebuild and install new HTML manual.
+
+ -- Sean Whitton <spwhitton@spwhitton.name> Mon, 26 Sep 2016 20:15:31 -0700
+
ebib (2.6.3-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/docs b/debian/docs
index dd44972..e44247e 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1,2 @@
*.md
+docs/ebib-manual.html
diff --git a/debian/rules b/debian/rules
index 391bdc3..18efe40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,14 +3,20 @@
%:
dh $@ --parallel --with elpa
-# We rebuild the texinfo manual to ensure that it's rebuildable. Note
-# that the docs/ subdir is the ebib website, which we don't install,
-# since the texinfo manual is sufficient documentation (aside from the
-# screenshots in docs/images/, which we install as examples)
+# We rebuild the texinfo & HTML manuals to ensure they are
+# rebuildable. Note that most of the other files in the docs/ subdir
+# are the ebib website, which we don't install
override_dh_auto_build:
test -f ebib.info.orig || mv ebib.info ebib.info.orig
pandoc manual/ebib.text -H manual/header.texi -o ebib.texi
makeinfo ebib.texi
+ test -f docs/ebib-manual.html.orig \
+ || mv docs/ebib-manual.html docs/ebib-manual.html.orig
+ pandoc manual/ebib.text -f markdown -t html -o docs/ebib-manual.html \
+ --css docs/ebib.css --standalone --table-of-contents
override_dh_auto_clean:
rm -f ebib.texi
test -f ebib.info.orig && mv ebib.info.orig ebib.info || true
+ test -f docs/ebib-manual.html.orig \
+ && mv docs/ebib-manual.html.orig docs/ebib-manual.html \
+ || true