summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2020-06-02 20:40:55 +0200
committerChristoph Berg <myon@debian.org>2020-06-02 20:40:55 +0200
commit5729bccd1e0b5c99d992b694bc203a977aeb386b (patch)
treedaccc32c40f50def532d542113c59f25e74daf5b /debian
parent4ee4ecd7f97007f443cad95d24b3549c8f290087 (diff)
Symlink docs from wsjtx-main.html so the doc-base file doesn't need updating with each release.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rwxr-xr-xdebian/rules5
-rw-r--r--debian/wsjtx-doc.doc-base2
3 files changed, 11 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 72c1cb84..de5b9237 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+wsjtx (2.2.0~rc2+repack-2) UNRELEASED; urgency=medium
+
+ * Symlink docs from wsjtx-main.html so the doc-base file doesn't need
+ updating with each release.
+
+ -- Christoph Berg <myon@debian.org> Tue, 02 Jun 2020 19:45:16 +0200
+
wsjtx (2.2.0~rc2+repack-1) unstable; urgency=medium
* New upstream version.
diff --git a/debian/rules b/debian/rules
index 2cdd93b8..7b8eb96b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,7 @@ override_dh_installdocs-indep:
dh_installdocs --indep
# Fix font-awesome from cloudflare
sed -i -e 's/https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/4.7.0\/css\/font-awesome.min.css/\/usr\/share\/fonts-font-awesome\/css\/font-awesome.min.css/g' \
- debian/wsjtx-doc/usr/share/doc/wsjtx/wsjtx-main-*.html
- sed -i -e 's/https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/4.7.0\/css\/font-awesome.min.css/\/usr\/share\/fonts-font-awesome\/css\/font-awesome.min.css/g' \
+ debian/wsjtx-doc/usr/share/doc/wsjtx/wsjtx-main-*.html \
debian/tmp/usr/share/doc/wsjtx/wsjtx-main-*.html
+ # Create non-version-dependant filename
+ cd debian/wsjtx-doc/usr/share/doc/wsjtx && ln -s wsjtx-main-*.html wsjtx-main.html
diff --git a/debian/wsjtx-doc.doc-base b/debian/wsjtx-doc.doc-base
index 9f4e9f14..099b3e91 100644
--- a/debian/wsjtx-doc.doc-base
+++ b/debian/wsjtx-doc.doc-base
@@ -5,5 +5,5 @@ Abstract: This is the user guide for WSJT-X
Section: Amateur Radio
Format: HTML
-Index: /usr/share/doc/wsjtx/wsjtx-main-2.2.0-rc1.html
+Index: /usr/share/doc/wsjtx/wsjtx-main.html
Files: /usr/share/doc/wsjtx/*.html