summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2019-12-29 11:38:21 +0100
committerChristoph Berg <myon@debian.org>2019-12-29 11:38:21 +0100
commit0e4e222e257fcbba8906a6b85acbdd0a5068a1b0 (patch)
tree1aedce3c0f725f66c321c4eb6e37d444847c1dfd
parentdc5ce27681bddd8192b8d6c7e0fb5f6593b1231f (diff)
Refactor doc handling and drop useless files.
-rw-r--r--debian/changelog1
-rw-r--r--debian/clean1
-rw-r--r--debian/docs8
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/wsjtx-data.install5
-rw-r--r--debian/wsjtx-doc.docs1
-rw-r--r--debian/wsjtx.docs3
7 files changed, 10 insertions, 17 deletions
diff --git a/debian/changelog b/debian/changelog
index 7d11f44b..adfcc6d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ wsjtx (2.1.2+repack-2) UNRELEASED; urgency=medium
* Link to system libqcustomplot instead of embedded copy.
* Symlink to cty.dat from hamradio-files.
+ * Refactor doc handling and drop useless files.
-- Christoph Berg <myon@debian.org> Sat, 28 Dec 2019 17:13:07 +0100
diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index 8f0f98f4..00000000
--- a/debian/clean
+++ /dev/null
@@ -1 +0,0 @@
-CHANGELOG
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index af1a67ad..00000000
--- a/debian/docs
+++ /dev/null
@@ -1,8 +0,0 @@
-jt9.txt
-mouse_commands.txt
-shortcuts.txt
-wsjtx_changelog.txt
-README
-THANKS
-NEWS
-BUGS
diff --git a/debian/rules b/debian/rules
index 203fc611..ab6ff3c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,11 +26,9 @@ override_dh_auto_configure:
# look for documentation in /usr/share/doc/wsjtx instead of .../WSJT-X
dh_auto_configure -- -DCMAKE_INSTALL_DOCDIR=share/doc/wsjtx
-override_dh_auto_build:
- # Combine change details into changelog
- cat v1.7_Features.txt > CHANGELOG
- cat wsjtx_changelog.txt >> CHANGELOG
- dh_auto_build
+override_dh_installchangelogs:
+ # there are various files with upstream notes, NEWS is the most comprehensive one
+ dh_installchangelogs NEWS
override_dh_installdocs-indep:
dh_installdocs --indep
diff --git a/debian/wsjtx-data.install b/debian/wsjtx-data.install
index a03165d0..c6141b45 100644
--- a/debian/wsjtx-data.install
+++ b/debian/wsjtx-data.install
@@ -1,4 +1,5 @@
-*.txt /usr/share/wsjtx/.wsjtx/
-*.dat /usr/share/wsjtx/.wsjtx/
+mouse_commands.txt usr/share/wsjtx/.wsjtx
+prefixes.txt usr/share/wsjtx/.wsjtx
+shortcuts.txt usr/share/wsjtx/.wsjtx
/usr/share/pixmaps/
/usr/share/wsjtx/
diff --git a/debian/wsjtx-doc.docs b/debian/wsjtx-doc.docs
deleted file mode 100644
index d4f45425..00000000
--- a/debian/wsjtx-doc.docs
+++ /dev/null
@@ -1 +0,0 @@
-#DOCS#
diff --git a/debian/wsjtx.docs b/debian/wsjtx.docs
new file mode 100644
index 00000000..0e1d6279
--- /dev/null
+++ b/debian/wsjtx.docs
@@ -0,0 +1,3 @@
+jt9.txt
+README
+THANKS