summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2021-07-14 08:59:37 +0200
committerAndrej Shadura <andrewsh@debian.org>2021-07-14 08:59:37 +0200
commit3b44ce741b1472f38b3952d4c13e206d0f928a5f (patch)
tree92091c69adf8584a74093ab30e22d491cef53a4b
parentbb64750fc621ab30ca17683d5ea23e5e2f7edccf (diff)
Install renamed documents under the old names
-rw-r--r--debian/docs4
-rwxr-xr-xdebian/rules6
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/docs b/debian/docs
index 67b1838b..fb77d6ec 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,5 +1,5 @@
AUTHORS.rst
CONTRIBUTING.md
-INSTALL.md
README.rst
-UPGRADE.rst
+docs/setup/installation.md
+docs/upgrade.md
diff --git a/debian/rules b/debian/rules
index a397b932..dd3340ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,12 @@ override_dh_auto_install:
override_dh_installdocs:
dh_installdocs
+ mv debian/$(PYBUILD_NAME)/usr/share/doc/matrix-synapse/installation.md \
+ debian/$(PYBUILD_NAME)/usr/share/doc/matrix-synapse/INSTALL.md
+ mv debian/$(PYBUILD_NAME)/usr/share/doc/matrix-synapse/upgrade.md \
+ debian/$(PYBUILD_NAME)/usr/share/doc/matrix-synapse/UPGRADE.md
+ ln -sr debian/$(PYBUILD_NAME)/usr/share/doc/matrix-synapse/UPGRADE.md \
+ debian/$(PYBUILD_NAME)/usr/share/doc/matrix-synapse/UPGRADE.rst
sed -i \
-e 's,/opt/venvs/matrix-synapse/bin/python,/usr/bin/python3,' \
-e 's,Restart=always,Restart=on-failure,' \