summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-09-05 09:26:22 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-09-05 09:26:22 -0700
commite5286cf94818bc64ad013182e8104622972acec2 (patch)
treee6af39fee32862fedcfab1713395cdacc43b4e88 /debian
parent7da6cfb3027159065e981d42563d73221a0ee375 (diff)
rebuild info.texi during package build
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules12
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 9b8af44..b6b61a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ebib (2.6.3-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Rebuild ebib.texi during package build.
* Install screenshots as examples.
-- Sean Whitton <spwhitton@spwhitton.name> Mon, 05 Sep 2016 09:11:38 -0700
diff --git a/debian/rules b/debian/rules
index 8eb7ccb..896c927 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,15 @@
%:
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)
+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
+override_dh_auto_clean:
+ rm -f ebib.texi
+ test -f ebib.info.orig && mv ebib.info.orig ebib.info