summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/oh-installdocs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/oh-installdocs b/src/oh-installdocs
index f29afa6..673b884 100644
--- a/src/oh-installdocs
+++ b/src/oh-installdocs
@@ -46,7 +46,9 @@ for pkgdir in *.data/; do
mkdir -p ${pkg}.data/usr/share/doc/${pkg}
[ ! -f ../copyright ] && error 'Missing "copyright" file'
[ ! -f ../changelog ] && error 'Missing "changelog" file'
- cp ../copyright ../changelog ${pkgdir}/usr/share/doc/${pkg} || \
+ cp ../copyright ${pkgdir}/usr/share/doc/${pkg}/copyright || \
+ error 'Cannot copy documentation files'
+ cp ../changelog ${pkgdir}/usr/share/doc/${pkg}/changelog.dist || \
error 'Cannot copy documentation files'
else
# Make dependent packages link to the providing package's documentation